(()=>{var e={1018:(e,n,t)=>{"use strict";t.d(n,{g5:()=>v,BI:()=>f,Ft:()=>w});var o=t(4617),a=t(2766);function r(e,n){try{return JSON.parse(e)}catch(t){return(0,a.BI)("EVError",t,`Bad-JSON-${null==n?void 0:n.className}-${null==n?void 0:n.tagName}-${null==n?void 0:n.id}-${location.pathname}-${e}`),null}}const i=dataLayer[0];function l(){var e,n;return(null===(e=window.crypto)||void 0===e||null===(n=e.randomUUID)||void 0===n?void 0:n.call(e))||(()=>{const e=Date.now().toString()+Math.random().toString().substr(2),n=(0,o.A)(e,0).toString(16).padStart(8,"0"),t=(0,o.A)(e,1).toString(16).padStart(8,"0"),a=(0,o.A)(e,2).toString(16).padStart(8,"0"),r=(0,o.A)(e,3).toString(16).padStart(8,"0");return`${n}-${t.substring(0,4)}-${t.substring(4,8)}-${a.substring(0,4)}-${a.substring(4)+r}`})()}const c=document.referrer?new URL(document.referrer):{},d=()=>{var e,n,t,o;return{timestampLocal:(new Date).toISOString(),sessionId:(0,a.v8)("_sessionId"),locationPathname:window.location.pathname,locationHostname:window.location.hostname,locationSearch:window.location.search||null,referrerPathname:(null==c?void 0:c.pathname)||null,referrerHostname:(null==c?void 0:c.hostname)||null,referrerSearch:(null==c?void 0:c.search)||null,documentTitle:document.title,pageType:(null===(e=i.page)||void 0===e?void 0:e.type)||null,pageId:(null===(n=i.page)||void 0===n?void 0:n.id)||null,loggedIn:null===(t=i.user)||void 0===t?void 0:t.loggedIn,twinklid:(null===(o=i.user)||void 0===o?void 0:o.twinklid)||null,browserViewport:window.innerWidth+"x"+window.innerHeight,experiments:window.babData?Object.entries(babData).map((e=>({name:window.atob(e[0]),variantIndex:e[1].v,variantName:window.atob(e[1].a[e[1].v])}))):null}},s=()=>{var e,n,t,o;const r=null!==(e=i.user)&&void 0!==e&&e.subscription&&!Array.isArray(i.user.subscription)?i.user.subscription:null;return{userAgent:navigator.userAgent,screenResolution:window.screen.width+"x"+window.screen.height,browserLang:navigator.language,serverGeo:i.geo,browserId:(0,a.v8)("twinkl_zz"),userAccountCreateDate:(null===(n=i.user)||void 0===n?void 0:n.userAccountCreateDate)||null,subBundle:r&&(null==r||null===(t=r.bundle)||void 0===t?void 0:t.name)||null,subType:r&&(null==r?void 0:r.type_id)||null,subOfferCode:r&&(null==r?void 0:r.offer_code)||null,sub_id:r&&(null==r?void 0:r.sub_id)||null,county_id:(null===(o=i.user)||void 0===o?void 0:o.county_id)||null,...Object.assign({},...g.filter((e=>"twinklid"!==e.name)).map((e=>{var n={};return n[e.mapName?e.mapName:e.name]=dataLayer[0].user[e.name]||null,n})))}};let u=[];function p(e,...n){try{var t;"sessionStart"!==e&&function(){if((0,a.v8)("_sessionId"))(0,a.n0)("_sessionId",(0,a.v8)("_sessionId"),null,1800);else{(0,a.n0)("_sessionId",l(),null,1800);const e=(0,o.A)(JSON.stringify(s()));window.localStorage.setItem("_sessionState",e),p("sessionStart",s,d)}}();const r=n.reduce(((e,n)=>"function"!=typeof n?e:Object.assign(e,n())),{}),i=null===(t=Object.keys(r))||void 0===t?void 0:t.sort(),c=(0,o.A)(JSON.stringify(i),0);Object.assign(r,{versionId:c});let m=(new Date).toISOString(),h={specversion:"1.0",type:`com.twinkl.${e}`,id:l(),source:window.location.hostname,time:m,data:r};u.push(h),u.length>8&&y()}catch(e){f("ABError",e,"helpers-addAnalyticsHit")}}const m=e=>Object.entries(e).map((e=>e.map(encodeURIComponent).join("="))).join("&"),h=(e,n="_et")=>{let t=JSON.parse(window.sessionStorage.getItem(n))||[];t.push(m(e)),window.sessionStorage.setItem("_et",window.JSON.stringify(t))};let g=[{name:"twinklid",shortName:"td"},{name:"loggedIn",shortName:"lo"},{name:"type",shortName:"t",mapName:"subStatus"},{name:"schoolAccount",shortName:"sa"},{name:"career_id",shortName:"ca"},{name:"country_id",shortName:"co"},{name:"language_id",shortName:"la"}];async function y(e=!1){if(u&&u.length>0&&(!e&&window.navigator.sendBeacon||e&&window.fetch))try{const t=(0,a.v8)("twinkl_ev_enabled")&&/^web\-devfe01\.twinkl/.test(window.location.hostname)?"https://ev.twinkl.co.uk/staging/":"https://ev.twinkl.co.uk";u.forEach((e=>{Object.assign(e.data,{timestampSent:(new Date).toISOString()})}));const o=JSON.stringify(u);if(e)try{(await window.fetch(t,{method:"POST",headers:{"Content-Type":"text/html"},body:o})).ok?u=[]:f("EVError","response not OK","analytics-fetch-response Error")}catch(e){f("EVError",e,"analytics-fetch-wrapper Error")}else try{var n;(null===(n=window.navigator)||void 0===n?void 0:n.sendBeacon(t,o))?u=[]:f("EVError","failed to queue","analytics-sendBeacon failed to queue")}catch(e){f("EVError",e,-1===navigator.sendBeacon.toString().indexOf("[native code]")?"cro-analytics-sendBeacon Monkey Patched":"cro-analytics-sendBeacon Error")}}catch(e){f("EVError",e,"sendAnalytics Error")}}function w(){var e,n,t;if(/local/.test(window.location.hostname)||/^web\-devfe01\.twinkl|local/.test(window.location.hostname)&&!(0,a.v8)("twinkl_ev_enabled"))return!1;document.body.addEventListener("click",(e=>{try{const t=e.target.closest("[data-track]"),o=e.target.tagName;if(t){const{clientX:a,clientY:i,screenX:l,screenY:c}=e;if(t){var n;let e=r(null==t?void 0:t.getAttribute("data-track"),t);if(!e)return;null===(n=document.fn)||void 0===n||null===(n=n.events)||void 0===n||n.emit("clickEventTrigger",{clickedEl:o,clientX:a,clientY:i,screenX:l,screenY:c,...e})}}}catch(e){(0,a.BI)("EVError",e,"clickEventListener")}})),document.body.addEventListener("submit",(e=>{const n=e.target;if(n.hasAttribute("data-track-form"))try{var t;let e=r(n.getAttribute("data-track-form"),n);if(!e)return;const o={formId:n.id||"",formAction:n.action,formMethod:n.method,formElements:Array.from(n.elements).filter((e=>e.hasAttribute("data-track-element"))).map((e=>({name:e.name,type:e.type,value:"password"===e.type?"[REDACTED]":e.value})))};null===(t=document.fn)||void 0===t||null===(t=t.events)||void 0===t||t.emit("formSubmitEventTrigger",{...o,...e})}catch(e){(0,a.BI)("EVError",e,"formSubmitEventListener")}})),p("pageview",s,d),null===(e=document.fn)||void 0===e||null===(e=e.events)||void 0===e||e.on("ajaxComplete",(e=>{/^https:\/\/www.twinkl[.\w]+\/search\?/.test(e.responseURL)&&p("pageview",s,d)})),null===(n=document.fn)||void 0===n||null===(n=n.events)||void 0===n||n.on("clickEventTrigger",(e=>{try{p("click",s,d,(()=>e))}catch(e){f("ABError",e,"clickEventTrigger emitter")}})),null===(t=document.fn)||void 0===t||null===(t=t.events)||void 0===t||t.on("formSubmitEventTrigger",(e=>{try{p("formSubmit",s,d,(()=>e))}catch(e){f("ABError",e,"formSubmitEventTrigger emitter")}})),setTimeout((()=>{window.fetch&&y()}),3e4),(0,a.v8)("twinkl_zz")&&window.document.addEventListener("visibilitychange",(()=>{try{if("hidden"===document.visibilityState){if(window.sessionStorage._et){let e=JSON.parse(sessionStorage.getItem("_et"));if(e&&e.length>0){e.forEach((e=>{if(/pageViewDuration/.test(e)){let t=(n=Date.now()-1e3*+e.split("&et=")[1].match(/^[^&]*/)[0])<5e3?"<5s":n>=5e3&&n<1e4?"5-10s":n>=1e4&&n<15e3?"10-15s":n>=15e3&&n<2e4?"15-20s":">20s";window.sessionStorage.setItem("_et",window.sessionStorage.getItem("_et").split(e).join(e.split("pageViewDuration").join("pageViewDuration"+t)))}var n})),e=JSON.parse(window.sessionStorage.getItem("_et"));let n=g.reduce(((e,n)=>(e[n.shortName]=window.dataLayer[0].user[n.name],e)),{});n.g=window.dataLayer[0].geo,n.v=1,n.t=""==n.t?"none":n.t;let t=m({zz:(0,a.v8)("twinkl_zz")||0,...n});if(t+=e.map((e=>`\n${e}`)).join(""),window.navigator.sendBeacon&&e.length){const e="https://ab.twinkl.co.uk";window.navigator.sendBeacon(e,t)&&(sessionStorage._et=JSON.stringify([]))}}}u&&u.length&&y()}}catch(e){f("ABError",e,"helpers-VisibilityChange")}}))}function f(e,n,t,o,a){try{var r;if("AB"==e&&2==n.split(".").length){let[e,o]=n.split(".");const a=new Date;let r={exn:e,exv:o,exh:t,et:Math.floor(a/1e3),tzo:0==a.getTimezoneOffset()?0:60*a.getTimezoneOffset()};if("hit"==r.exh){var i;const{exn:e,exv:n,exh:t}=r;null===(i=document.fn)||void 0===i||null===(i=i.events)||void 0===i||i.on("abReady",(()=>{p("experiment",s,d,(()=>({expName:e,expVariant:n,expEvent:t})))}))}h(r)}if(("ABError"==e||"EVError"==e)&&null!==(r=window.newrelic)&&void 0!==r&&r.noticeError){var l,c,u=new Error(`${"ABError"==e?"CRO":"EV"}-${n}-${t}`);null===(l=window.newrelic)||void 0===l||null===(c=l.noticeError)||void 0===c||c.call(l,u)}}catch(e){}}function v(e,n){const t=function(e,n){const t=864e5,o=Math.round(Math.abs((e.getTime()-n.getTime())/t)),a=Math.abs(e.getTime()-n.getTime())%t;return Math.round(a/1e3)+86400*o}(e,n),o=[{range:"0-20",min:0,max:20},{range:"21-120",min:21,max:120},{range:"121+",min:121,max:1/0}];for(const e of o)if(t>=e.min&&t<=e.max)return e.range}},3702:(e,n,t)=>{"use strict";t.d(n,{I:()=>r});var o=t(2766),a=t(4617);const r=(e,n,t=[{weight:1},{weight:1}],r={})=>{let i=null,l=null;try{var c,d;l=null===(c=dataLayer[0])||void 0===c?void 0:c.abTests[n],(null===(d=l)||void 0===d?void 0:d.variantIndex)>-1&&(i=l.variantIndex)}catch(e){console.error(e)}const{population:s}=Object.assign({population:100},r),u=1e4,p=`${n}${e}`,m=(0,a.A)(p,0),h=m/(Math.pow(2,32)-1),g=parseInt(h*u,10),y=function(e){const n=function(){const e=[];let n=0;for(let e=0;ee-1?n:null}(g);if((0,o.v8)("twinklSplitTesting")&&console.log(y,u,m,h,p),null!==y&&null!==i&&y!==i){var w;const a={"Test name":n,"Back end":l,"Front end":{variantIndex:y,variantName:null!==(w=variants[y])&&void 0!==w?w:"unknown",user:e,hashKey:p,hashValue:m,hashRatio:h,bucket:g,variantList:t.map((e=>e.name))}};(0,o.BI)("ABError","Bucketing mismatch",JSON.stringify(a))}return y}},4617:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});const o=3432918353,a=461845907;function r(e,n=0){const t=3&e.length,r=e.length-t;let c=n,d=0;for(;d=3&&(r^=e.charCodeAt(n+2)<<16),t>=2&&(r^=e.charCodeAt(n+1)<<8),t>=1&&(r^=e.charCodeAt(n),r=Math.imul(r,o),r=r<<15|r>>>17,r=Math.imul(r,a)),r}(e,d,t);return c^=s,function(e,n){return e^=n,e^=e>>>16,e=Math.imul(e,2246822507),e^=e>>>13,e=Math.imul(e,3266489909),(e^=e>>>16)>>>0}(c,e.length)}function i(e,n){let t=255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24;return t=Math.imul(t,o),t=t<<15|t>>>17,t=Math.imul(t,a),t}function l(e,n){return e=(e^=n)<<13|e>>>19,Math.imul(e,5)+3864292196}},5133:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);const a=(r=console.log,i=function(e,n){var t=localStorage._x?JSON.parse(localStorage._x):{};n&&n.length>0&&n.forEach((function(e){t[e]&&delete t[e]})),t[e.en]=e.ce,localStorage._x=JSON.stringify(t)},l=function(e,n){var t;if(null==e||null===(t=e.ce)||void 0===t||!t.g)return;const o=e.n+"."+e.b[e.v].name,a=n.name,l=void 0;if(o&&a){var c=e.o.encodeCookie?btoa(a).replace(/[=]+/,""):a;if(e.ce.g[c]){var d=e.ce.g[c].c?e.ce.g[c].c++:e.ce.g[c].c=1;i(e),n.mod&&d%n.mod==0&&r("AB",o,n.bypass?a:a+":"+d,l,!0)}else r("AB",o,a,l,!0),e.ce.g[c]={t:Date.now(),c:1},i(e)}},c=function(e,n){var t,o,a=n.o.encodeCookie?btoa(e.name).replace(/[=]+/,""):e.name;if(null===(t=n.ce)||void 0===t||null===(t=t.g)||void 0===t||!t[a]||e.mod&&!((null===(o=n.ce)||void 0===o||null===(o=o.g)||void 0===o||null===(o=o[a])||void 0===o?void 0:o.c)>20))if("on"!==e.type){var r=[].slice.call(document.querySelectorAll(e.parentEl));r&&r.length>0&&r.forEach((function(t){t.addEventListener(e.type,(function(t){t.target.closest(e.childEl)&&l(n,e)}))}))}else"on"==e.type&&n.o.evq&&e.on&&n.o.evq.on(e.on,(function(t){let o={...e};e.cb&&(o={...e.cb(t)}),function(e,n){l(n,e)}(o,n)}))},d=function(e){var n,t=!(null===(n=e.b[e.v])||void 0===n||!n.name);e.b[e.v].run(),e.g.e.length>0&&t&&e.g.e.forEach((function(n){null!=n.path||null!=n.options&&!n.options||c(n,e)})),u(e)},s=function(e){e.v=e.o.bucket>-1?e.o.bucket:function(e){var n=e.b.reduce((function(e,n){return e+n.weight||0}),0),t=0,o=Math.random()*n;return e.b.map((function(e){return e.weight})).findIndex((function(e){return o<(t+=e)}))}(e),d(e)},u=function(e){var n,t=!(null===(n=e.b[e.v])||void 0===n||!n.name);if(e.t()){if(!e.ae[e.en]){if(function(e){if(!e.ce){var n=Object.keys(e.ae).filter((function(n){if(new Date>new Date(e.ae[n].b+864e5*e.ae[n].t))return n}));e.ce=e.ae[e.en]={g:{},v:e.v,t:e.ttl,b:Date.now()},i(e,n)}}(e),!t)return;r("AB",e.n+"."+e.b[e.v].name,"hit",void 0,!0)}if(!t)return;window.babData=window.babData||{};var o=e.b.map((e=>window.btoa(e.name).replace(/=/g,""))),a={v:e.v,a:o};window.babData[e.en]=a}e.g.gh.length>0&&e.isb&&e.g.gh.forEach((function(n){l(e,n)})),e.goalEventPath&&e.goalEventPath.length>0&&e.isb&&e.goalEventPath.forEach((function(n){(null==n.options||n.options)&&c(n,e)}))},{init:e=>{if(e.o.deploy>0)e.t()&&e.b[e.o.deploy].run();else if(r="ga"==e.o.fnDataApi||null==e.o.fnDataApi?o.BI:e.o.fnDataApi,e.en=e.o.encodeCookie?btoa(e.n).replace(/[=]+/,""):e.n,e.ae=localStorage._x?JSON.parse(localStorage._x):{},e.ce=!!e.ae&&e.ae[e.en],e.isb=!!e.ce,e.g.gh=e.g.u.filter((function(e){return e.regex.test(location[e.type||"pathname"])&&(null==e.options||e.options)})),e.goalEventPath=e.g.e.filter((function(e){return void 0!==e.path&&e.path.test(location.pathname)&&(null==e.options||e.options)})),e.t())!function(e){e.isb?e.ce&&(e.v=+e.ce.v,e.v0||e.goalEventPath&&e.goalEventPath.length>0)&&e.isb){if(e.v=e.ce.v,e.b[e.v]&&!e.b[e.v].name)return;u(e)}}});var r,i,l,c,d,s,u},2766:(e,n,t)=>{"use strict";t.d(n,{BI:()=>a.BI,DX:()=>w,Fr:()=>v,Gc:()=>i,Hh:()=>l,aC:()=>b,b3:()=>g,e9:()=>c,kQ:()=>k,n0:()=>u,se:()=>p,v8:()=>s,xl:()=>f});var o=t(5133),a=t(1018),r=t(3702);function i(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}function l(e){"complete"==document.readyState?e():document.addEventListener("readystatechange",(n=>{"complete"===n.target.readyState&&e()}))}function c(e){var n;return!(null===(n=JSON.parse(localStorage.getItem("_x")))||void 0===n||!n[window.btoa(e).replace(/=/g,"")])}const d=window.dataLayer[0];function s(e){for(var n=escape(e)+"=",t=window.document.cookie.split(";"),o=0;oe.regex.test(window.location[e.type||"pathname"])&&(!e.hasOwnProperty("options")||e.options)))}function h(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}const g=(e,n=i,t=l)=>a=>{var i;if(!(m(e.tg)||a&&null!=a&&a[null===(i=window.btoa(e.n))||void 0===i?void 0:i.replace(/=/g,"")]&&(m(e.g.u)||h(e.g.e))))return!1;if(e.t=()=>m(e.tg),e.t()){if(-1===e.o.bucket&&0==e.o.deploy){var l,c,u;const n=null!=d&&null!==(l=d.user)&&void 0!==l&&l.twinklid?d.user.twinklid:null===(c=s("twinkl_zz"))||void 0===c?void 0:c.slice(-5);if(void 0===n)return!1;if(null!=a&&a[null===(u=window.btoa(e.n))||void 0===u?void 0:u.replace(/=/g,"")]||(e.o.bucket=(0,r.I)(n,e.n,e.b,{population:e.o.population||100})),null==e.o.bucket)return!1}return n((function(){o.A.init(e)})),!0}(m(e.g.u)||h(e.g.e))&&t((function(){o.A.init(e)}))};function y(e){if(!e)return"";const n=new RegExp("\\b("+["twinkl","bundle","unlimited","downloads"].join("|")+")\\b","gi");return e.replace(n,"").replace(/\s+/g," ").trim().toLowerCase()}function w(e){var n,t,o,a,r,i,l={},c=/^\/premium-thanks/.test(window.location.pathname)?null===(n=window.dataLayer[0].ecommerce)||void 0===n||null===(n=n.purchase)||void 0===n||null===(n=n.products)||void 0===n?void 0:n[0]:void 0,d=null==c?void 0:c.variant,s=d&&"string"==typeof d?null!==(null==d?void 0:d.match(/24\s[0-6]$/))?"Biennial":null==d||null===(t=d.match(/^\w+/))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.replace("Standard","Annual"):void 0,u=c&&null!==(o=window.dataLayer[0].ecommerce)&&void 0!==o&&null!==(o=o.purchase)&&void 0!==o&&null!==(o=o.actionField)&&void 0!==o&&o.coupon?null===(a=window.dataLayer[0].ecommerce)||void 0===a||null===(a=a.purchase)||void 0===a||null===(a=a.actionField)||void 0===a?void 0:a.coupon:void 0;if(l.funnel=/^\/premium|^\/payment|^\/a-payment|^\/trial$|^\/free-trial-payment\/|^\/trial-free$|^\/free-trial-landing$/.test(window.location.pathname)?[{name:"premium",regex:/^\/premium$|^\/premium\/individual$|^\/premium\/individual\/primary$|^\/premium\/choose$/,options:!document.querySelector("#premium_page.subscription")},{name:"premiumPaidMember",regex:/^\/premium$|^\/premium\/individual$|^\/premium\/individual\/primary$/,options:!!document.querySelector("#premium_page.subscription")},{name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")||!!document.querySelector(".newRadios")},{name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")||!!document.querySelector(".newRadios")},{name:"payment",regex:/^\/payment$/,options:!!document.querySelector(".payMonthlyDiv")||!!document.querySelector(".newRadios")},{name:"payFinal",regex:/^\/a-payment\/monthly\/\d+$/},{name:"payFinalOffer",regex:/^\/a-payment\/monthly\/\d+$/,options:!!document.querySelector(".freeTrial99Label")},{name:"payFinal",regex:/^\/payment$/,options:!document.querySelector(".payMonthlyDiv")&&!document.querySelector(".newRadios")},{name:"payFastTrack",regex:/^\/payment-sign-up$/},{name:"Subscription",regex:/^\/premium-thanks/,options:!(null==c||!c.variant||/\d\s3/.test(c.variant))},{name:`Subscription-${i=u,i?i.replace(/^99P-MONTHLY-/,"").toLowerCase():""}`,regex:/^\/premium-thanks/,options:!(null==c||!c.variant||!u||/\d\s3/.test(c.variant))},{name:"premiumThanks",regex:/^\/premium-thanks/,options:!0},{name:"freeTrialLanding",regex:/^\/free-trial-landing$/,options:!0}]:[],l.upgrades=null!=c&&c.variant&&null!=c&&c.name&&/\d\s3/.test(c.variant)?[{name:"upgrade",regex:/^\/premium-thanks/,options:!!c.variant&&/\d\s3/.test(c.variant)},{name:"upgrade-paid",regex:/^\/premium-thanks/,options:!!c.variant&&/\d\s3/.test(c.variant)},{name:"upgrade-"+y(c.name)+"-"+s,regex:/^\/premium-thanks/,options:!!c.variant&&/\d\s3/.test(c.variant)},{name:"upgrade-"+s,regex:/^\/premium-thanks/,options:!!c.variant&&/\d\s3/.test(c.variant)}]:[],l.products=null!=c&&c.variant?[{name:"Subscription-"+y(null==c?void 0:c.name),regex:/^\/premium-thanks/,options:!(null==c||!c.variant||/\d\s3/.test(c.variant))},{name:"upgrade-"+y(c.name),regex:/^\/premium-thanks/,options:!!c.variant&&/\d\s3/.test(c.variant)},{name:"upgrade-"+s,regex:/^\/premium-thanks/,options:!!c.variant&&/\d\s3/.test(c.variant)},{name:"Subscription-"+s,regex:/^\/premium-thanks/,options:!(null==c||!c.variant||/\d\s3/.test(c.variant))}]:[],l.cancel=/^\/cancel-membership/.test(window.location.pathname)?[{name:"cancelStarted",regex:/^\/cancel-membership$/},{name:"cancelMembershipSwitchAndDowngradeOptions",regex:/^\/cancel-membership\/membership-options\/[\w]+$/},{name:"cancelPauseNow",regex:/^\/cancel-membership\/pause-now$/},{name:"cancelProducts",regex:/^\/cancel-membership\/products\/[\w]+$/},{name:"cancelOptions",regex:/^\/cancel-membership\/options/},{name:"cancelComplete",regex:/^\/cancel-membership\/cancel-now\/[\w]+$/},{name:"cancelDowngradeComplete",regex:/^\/cancel-membership\/downgrade-now\//},{name:"switchedToAnnual-cancelJourney",regex:/^\/cancel-membership\/switch-to-annual\/[\w]+$/,options:/type=cancellation/.test(window.location.search)},{name:"switchedToMonthly-cancelJourney",regex:/^\/cancel-membership\/switch-to-monthly\/[\w]+$/,options:/type=cancellation/.test(window.location.search)}]:[],l.switchMethod=/^\/cancel-membership/.test(window.location.pathname)?[{name:"switchedToAnnual"+(/type=/.test(window.document.referrer)?null===(r=window.document.referrer.split("type="))||void 0===r?void 0:r[1]:""),regex:/^\/cancel-membership\/switch-to-annual\/[\w]+$/,options:!/type=cancellation/.test(window.location.search)},{name:"switchedToAnnualConfirm",regex:/^\/cancel-membership\/switch-to-annual-confirmation\/[\w]+$/}]:[],/^\/payment$/.test(location.pathname)&&document.querySelector(".upgradeMonthlySub")){var p;const e=null===(p=document.querySelector(".upgradeMonthlySub>div>div>p"))||void 0===p||null===(p=p.innerText)||void 0===p||null===(p=p.split(".")[0])||void 0===p||null===(p=p.split(" "))||void 0===p?void 0:p.reverse()[0];e&&(l.products.push({name:"upgrade-"+e,regex:/^\/payment$/,options:!0}),l.products.push({name:"upgrade-"+e+"-one-click",regex:/^\/payment$/,options:!0}),l.products.push({name:"upgrade-Monthly",regex:/^\/payment$/,options:!0}),l.upgrades.push({name:"upgrade",regex:/^\/payment$/,options:!0}),l.upgrades.push({name:"upgrade-one-click",regex:/^\/payment$/,options:!0,mod:1}),l.products.push({name:"upgrade-"+e+"-Monthly",regex:/^\/payment$/,options:!0}))}/^\/a-payment\/cancel-upgrade\//.test(location.pathname)&&document.querySelector(".upgradeMonthlySub")&&l.upgrades.push({name:"upgrade-cancel-one-click",regex:/^\/a-payment\/cancel-upgrade\//,options:!0,mod:1});let m=[];return Array.isArray(e)&&e.forEach((function(e){m=l[e]?m.concat(l[e].filter((e=>e.regex.test(window.location.pathname)))):m})),m}const f=!!window.document.querySelector("body.is-desktop-device"),v=!!window.document.querySelector("body.is-mobile-device"),x=(e,n="strict")=>(t,o=n)=>{const a=t.toString().split(",").map((e=>((e,n)=>"startsWith"==n?`^${e}`:"endsWith"==n?`${e}$`:"has"==n?e:`^${e}$`)(e.trim(),o))).join("|");return new RegExp(a).test(e)},b={lang:{en:x(d.user.language_id)("1,11,12,25,136,159,160,161"),is:x(d.user.language_id)},country:{uk:x(d.user.country_id)("244,247,246,245"),is:x(d.user.country_id),startsWith:x(d.user.country_id,"startsWith")},member:{schoolAccount:d.user.schoolAccount>0},geo:{us:x(d.geo,"startsWith")("US"),uk:x(d.geo,"startsWith")("GB"),startsWith:x(d.geo,"startsWith")},domain:{endsWith:x(location.host,"endsWith"),com:x(location.host)("www.twinkl.com"),is:x(location.host)},career:{is:x(d.user.career)},path:{is:x(location.pathname),startsWith:x(location.pathname,"startsWith")},device:{isMobile:v,isDesktop:f}};function k(e){var n={download:[{path:/^\/resource\//,type:"click",name:"Download",parentEl:'#download_link[data-download="yes"]',childEl:"a"},{path:/^\/resource\//,type:"click",name:"DownloadAlt",parentEl:"#download_alternate_selector_container",childEl:"a.download_link"},{path:/^\/resource\//,type:"click",name:"Download",parentEl:"#download_alternate_selector_container",childEl:"a.download_link"}]};n.switchMethodReversed=[{path:/^\/cancel-membership\/switch-to-annual\/[\w]+/,type:"click",name:"switchedToAnnualReversed"+(/type=/.test(window.document.referrer)?window.document.referrer.split("type=")[1]:""),parentEl:".cancellation-box-grey",childEl:'a[href^="/cancel-membership/switch-back-to-monthly/"]'}];let t=[];return Array.isArray(e)&&e.forEach((function(e){t=n[e]?t.concat(n[e].filter((e=>e.path.test(window.location.pathname)))):t})),t}},6729:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);function a(){try{var e;const n=document.querySelector("#trial-offer .included-items-container"),t=document.querySelector(".whats-included"),a="https://images.twinkl.co.uk/tr/raw/upload/u/ux/twinkl-logo_ver_1.svg",r=document.querySelector(".heading-panel a#start_trial"),i=document.querySelector(".whats-included h2");if(n&&t&&r&&null!=i&&null!==(e=i.innerText)&&void 0!==e&&e.includes("What")){if((0,o.se)("\n div.footerKVP {\n width: 100%;\n background: linear-gradient(10deg, rgb(86 84 84) 0%, rgb(156 153 153) 100%);\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: center;\n box-shadow: inset 0px 7px 36px -7px;\n border-bottom: solid #2c2b2b 7rem;\n .containerKVP {\n padding: 3em 0 3em 0px;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: center;\n margin: 1em;\n width: 75vw;\n justify-content: center;\n gap: 1em;\n img.footerLogoKVP {\n width: 7em;\n margin: 1em 0 1em 0em;\n }\n h4.footerTextKVP {\n color: #424141;\n margin: 0;\n font-family: robotoregular;\n font-weight: normal;\n width: min-content;\n }\n }\n }\n .is-mobile-device {\n h2.headingKVP {\n margin: 0.5em 0.5em 1em 0.5em;\n }\n div.footerKVP {\n padding-bottom: 1em;\n }\n }\n "),o.xl){(0,o.se)("\n .is-desktop-device {\n div#kvpsecondCTADesktop {\n padding: 2em 3em;\n display: flex;\n background: #e0e5ea;\n border-radius: 1vw;\n flex-direction: row;\n flex-wrap: wrap;\n align-content: center;\n align-items: center;\n justify-content: space-evenly;\n .copyParent-secondCTACont {\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-wrap: nowrap;\n flex-direction: row;\n .qualityImage {\n min-width: 100px;\n }\n .textParent {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n max-width: 28rem;\n min-width: min-content;\n h1 {\n font-family: robotobold;\n }\n }\n }\n .secondCTAContainer {\n width: min-content;\n display: flex;\n flex-direction: row; \n a#belowFoldCTADesktop-hero {\n width: 15rem;\n margin: 1em;\n box-shadow: 0px 15px 20px 5px rgb(0 0 0 / 12%), 0px 10px 15px -3px rgb(0 0 0 / 20%);\n }\n a#belowFoldCTADesktop-hero:focus {\n border: solid black 2px;\n }\n }\n }\n }\n ");const e='\n
\n
\n
\n Twinkl Quality Stamp\n
\n
\n

Ready to start exploring?

\n

Click continue to join our FREE trial and download resources for 30 days! Cancel any time.

\n
\n
\n
\n Continue\n
\n
\n ';null==t||t.insertAdjacentHTML("beforeend",e);const n=document.getElementById("belowFoldCTADesktop-hero");n&&r&&n.addEventListener("click",(()=>{r.click()}))}const e=`
\n
\n \n

Twinkl Educational Publishing

\n
\n
`;null==t||t.insertAdjacentHTML("afterend",e)}}catch(e){var n;(0,o.BI)("ABError",e,window.location.pathname+`freeTrialLandingBelowFold${null===(n=dataLayer[0])||void 0===n||null===(n=n.user)||void 0===n?void 0:n.country_id}`)}}},5162:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);function a(){try{const n=document.querySelector(".simple-header #header"),t=document.querySelector("#trial-offer"),a=document.querySelector(".heading-panel"),r=document.querySelector('img[alt*="Trial Offer"]'),i=document.querySelector(".heading-panel h1.bold"),l=document.querySelector(".heading-panel a#start_trial"),c=document.querySelector(".heading-panel p.disclaimer");var e;if(n&&t&&a&&r&&i&&l.innerText.includes("FREE")&&c&&(n.classList.add("header-hero"),t.classList.add("trialOffer-hero"),a.classList.add("headingPanel-hero"),null==r||r.parentElement.classList.add("landingImageOld"),null==i||null===(e=i.parentElement)||void 0===e||null===(e=e.parentElement)||void 0===e||e.classList.add("mainTextGrandParent-hero"),null==i||i.parentElement.classList.add("mainTextParent-hero"),i.classList.add("mainTextH1-hero"),l.classList.add("mainCTA-hero"),l.tabIndex=1,l.innerText="Continue",c.innerText="Enjoy premium Twinkl for 30 days. Cancel any time.",l.insertAdjacentElement("beforebegin",c),(0,o.se)('\n /* GENERAL STYLES */\n body .simple-header div.header-hero#header {\n background-color: #2399f9a8;\n position: absolute;\n width: 100%;\n border: none;\n z-index: 3;\n }\n div#zenDeskLoadButton.zEWidget-launcher {\n display: none;\n }\n #trial-offer {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: flex-start;\n overflow: hidden;\n /* HIDE ELEMENTS */\n .landingImageOld {\n display: none;\n }\n /* FOOTER PADDING */\n .included-items-container {\n padding-bottom: 6rem;\n }\n .heading-panel.headingPanel-hero {\n background-color: #001421;\n background-image: url("https://images.twinkl.co.uk/tr/raw/upload/u/ux/freetriallanding-hero-shine-1_ver_3.jpg");\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n box-shadow: inset 0px -8px 23px 0px black;\n border-bottom-left-radius: 60% 10%;\n border-bottom-right-radius: 60% 10%;\n align-content: center;\n .container .row {\n justify-content: center;\n }\n .mainTextGrandParent-hero {\n transition: all 100ms cubic-bezier(0, 0.51, 0.46, 0.99);\n margin-top: 100px;\n display: flex;\n justify-content: center;\n min-width: 90%;\n .mainTextParent-hero {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 6em 0 8em 0;\n min-width: 85%;\n h1.mainTextH1-hero {\n text-align: center;\n overflow-wrap: normal;\n color: #F6F6F6;\n font-family: robotobold;\n filter: drop-shadow(2px 4px 14px #090909);\n }\n p.disclaimer {\n font-weight: normal;\n color: #F6F6F6;\n font-size: 16px;\n text-wrap: pretty;\n }\n a.mainCTA-hero {\n box-shadow: 0px 15px 20px 5px rgb(0 0 0 / 32%), 0px 10px 15px -3px rgb(0 0 0 / 71%);\n font-size: 1.25em;\n }\n a.mainCTA-hero:focus {\n border: solid black 2px;\n }\n }\n }\n }\n } \n /*DESKTOP ONLY*/\n .is-desktop-device {\n #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n height: 95vh;\n width: 102vw;\n .mainTextGrandParent-hero {\n .mainTextParent-hero {\n h1.mainTextH1-hero {\n font-size: 3.5em;\n }\n }\n }\n }\n }\n } \n /*MOBILE ONLY*/\n .is-mobile-device {\n .simple-header div.header-hero#header {\n height: min-content !important;\n a img#simple-header-logo {\n bottom: 0;\n }\n }\n .heading-panel.headingPanel-hero {\n background-size: cover;\n min-height: 85vh;\n width: 105vw;\n } \n #trial-offer {\n .mainTextGrandParent-hero {\n .mainTextParent-hero {\n margin: 10rem 0 10rem 0;\n max-width: 90%;\n h1.mainTextH1-hero {\n font-size: 2em;\n }\n }\n }\n }\n .popupCtaMobile-hero {\n transition: all 300ms cubic-bezier(0, 0.51, 0.46, 0.99);\n position: fixed;\n background: linear-gradient(0deg, #144770db 8%, rgba(0, 212, 255, 0) 100%);\n bottom: -1px;\n display: flex;\n width: 100%;\n padding: 1em;\n opacity: 0;\n visibility: hidden;\n a#popupSecondCta-hero {\n margin: 1em;\n width: 100%;\n font-size: 1.25em;\n box-shadow: 0px 15px 20px 5px rgb(0 0 0 / 32%), 0px 10px 15px -3px rgb(0 0 0 / 71%);\n }\n }\n .popupCtaMobile-hero.scrollDepth {\n visibility: visible;\n opacity: 1;\n }\n }\n ')),o.Fr){const e='';t.insertAdjacentHTML("beforeend",e);const n=document.getElementById("popupCTAHero");new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?n.classList.remove("scrollDepth"):n.classList.add("scrollDepth")}))}),{root:null,threshold:0}).observe(l),n.addEventListener("click",(()=>{l.click()}))}}catch(e){var n;(0,o.BI)("ABError",e,window.location.pathname+`freeTrialLandingHeroImage${null===(n=dataLayer[0])||void 0===n||null===(n=n.user)||void 0===n?void 0:n.country_id}`)}}},3195:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);function a(e,n){try{if(n&&e){(0,o.se)('\n #trustBanner .paymentUSPS {\n display: none;\n }\n .is-mobile-device {\n #trustBanner {\n border-radius: 0;\n .trustText {\n text-wrap: pretty;\n }\n }\n }\n a.mainCTA-hero {\n z-index: 1;\n }\n #trial-offer .heading-panel.headingPanel-hero {\n position: relative;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n .heading-panel.headingPanel-hero::after {\n content: "";\n bottom: 0;\n left: 0;\n height: 40px;\n width: 100%;\n background: white;\n position: absolute;\n border-top-left-radius: 100%;\n border-top-right-radius: 100%;\n }\n ');const a={1:{texts:{customerSupport:"24/7 customer support",trusted:"Trusted",byMembers:"by Twinkl members",starPercentage:"98.4%",positive:"positive",recommendation:"of our members would recommend Twinkl to a friend",noCancellationFees:"No cancellation fees"},images:{customerSupport:"https://images.twinkl.co.uk/tr/raw/upload/u/ux/trusted-banner-customer-support-icon_ver_1.svg",trustedIcon:"https://images.twinkl.co.uk/tr/raw/upload/u/ux/trusted-tick-icon_ver_1.svg",starRating:"https://images.twinkl.co.uk/tr/raw/upload/u/ux/trusted-banner-stars-img_ver_1.svg"}}};function r(){const t=document.createElement("div");t.id="trustBannerParent",t.className="trustBannerLargeParent",t.innerHTML=`\n
\n
\n Customer Support\n
${a[1].texts.customerSupport}
\n
\n
\n
\n
\n Trusted Icon\n ${a[1].texts.trusted}\n
\n ${a[1].texts.byMembers}\n
\n
\n Star Rating\n
${a[1].texts.starPercentage}
\n
${a[1].texts.positive}
\n
\n
\n
\n
\n ${a[1].texts.starPercentage} ${a[1].texts.recommendation}\n
\n
\n
\n \n £££\n \n \n \n \n \n
${a[1].texts.noCancellationFees}
\n
\n
\n `,"box"===e?(0,o.se)("\n body.is-desktop-device {\n & #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n height: 85vh;\n }\n }\n #trustBannerParent {\n #trustBanner {\n #trustedByIcon {\n display: flex;\n align-items: baseline;\n gap: 0.5em;\n }\n }\n } \n }\n body.is-mobile-device {\n & #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n height: 80vh;\n }\n }\n #trustBannerParent {\n #trustBanner {\n border-radius: 10px;\n margin: 0 10px;\n #trustedByIcon {\n display: flex;\n align-items: center;\n gap: 0.5em;\n justify-content: center;\n }\n }\n }\n }\n \n "):"fullWidth"===e&&(n.insertAdjacentElement("beforeend",t),(0,o.se)("\n .simple-header #header {\n display: flex;\n flex-direction: column;\n padding: 0;\n justify-content: center;\n align-items: center;\n a {\n padding: 1em 0 1em 0;\n }\n }\n #trustBannerParent {\n width: 100%;\n #trustBanner {\n margin-bottom: 0;\n padding: 0.5em;\n align-items: center;\n justify-content: center;\n border-radius: 0;\n }\n .leftSide {\n margin: 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 1em;\n .trustStars {\n margin: 0;\n }\n }\n .rightSide {\n margin: 0;\n }\n }\n #trustBannerParent {\n padding-top: 0;\n }\n body.is-desktop-device {\n & #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n height: 100vh;\n }\n } \n }\n body.is-mobile-device {\n & #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n min-height: min-content;\n height: 100vh;\n & .mainTextGrandParent-hero {\n .mainTextParent-hero { \n margin: 1em 0 1em 0;\n }\n } \n }\n }\n .simple-header div.header-hero#header {\n height: min-content !important;\n #trustBannerParent {\n .rightSide {\n display: none;\n }\n .leftSide {\n flex-wrap: nowrap;\n #trustedByIcon {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n justify-content: center;\n width: min-content;\n .trustedLogoDiv {\n width: max-content;\n }\n }\n .trustStars {\n .starText {\n color: #2daf4b;\n }\n .greenPos {\n display: none;\n }\n }\n }\n }\n } \n } \n ")),n.insertAdjacentElement("beforebegin",t)}r()}}catch(i){var t;(0,o.BI)("ABError",i,window.location.pathname+`freeTrialLandingTrustMarks${null===(t=dataLayer[0])||void 0===t||null===(t=t.user)||void 0===t?void 0:t.country_id}`)}}},7226:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);function a(e,n){try{if(n){var t;let a=document.createElement("div");Object.assign(a,{id:"grandParentKVP",name:"grandParentKVP",className:"grandParentKVP"}),(0,o.se)("\n .included-items-container {\n display: none;\n }\n h2.headingKVP {\n font-family: robotobold;\n color: #005b94;\n text-align: left;\n margin: 0.5em 0 1em 0;\n }\n .grandParentKVP {\n display: flex;\n justify-content: center; \n align-items: flex-start; \n flex-direction: row; \n flex-wrap: wrap; \n align-content: flex-start;\n width: 100%;\n gap: 1rem;\n margin-bottom: 5em;\n .cardContainerKVP {\n display: flex;\n flex-direction: column;\n min-height: 300px;\n min-width: 20rem;\n align-content: center;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n flex-grow: 2;\n max-width: 23rem;\n position: relative;\n .cardContentContainerKVP {\n box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1),0px 10px 34px 12px rgba(0,0,0,0.1);\n padding: 2rem;\n display: flex;\n flex-direction: column;\n background: linear-gradient(150deg, rgba(38,116,179,1) 0%, rgba(18,74,120,1) 100%);\n width: 100%;\n height: 300px;\n align-items: flex-end;\n overflow: hidden;\n justify-content: space-between;\n border-radius: 1em;\n .copyParentKVP {\n h1 {\n color: #F6F6F6;\n font-family: robotobold;\n }\n p {\n color: #F6F6F6;\n margin: 0 0 0px 0;\n }\n }\n .imageParent {\n max-width: 8rem;\n height 2rem;\n .imageKVP {\n display: inline-block;\n height: auto;\n } \n }\n }\n .cardDescriptionKVP {\n padding: 1rem 1rem 1rem 1rem;\n transition: all 500ms cubic-bezier(0, 0.51, 0.46, 0.99);\n bottom: 4em;\n visibility: hidden;\n z-index: -1;\n opacity: 0; \n font-size: 0.9em;\n transform: matrix(1, 0, 0, 1, 0, -113);\n }\n }\n }\n .is-desktop-device {\n .grandParentKVP {\n .cardContainerKVP {\n .cardContentContainerKVP {\n }\n .cardContentContainerKVP:hover + .cardDescriptionKVP{\n visibility: visible;\n opacity: 1;\n bottom: -2em;\n transform: matrix(1, 0, 0, 1, 0, 0);\n }\n .cardDescriptionKVP.cardHover {\n visibility: visible;\n opacity: 1;\n bottom: -2em;\n transform: matrix(1, 0, 0, 1, 0, 0);\n }\n }\n }\n }\n .is-mobile-device {\n #trial-offer .whats-included h2 {\n font-size: x-large;\n margin: 3em 0.5em 1em 1em;\n }\n .grandParentKVP {\n gap: 0;\n .cardContainerKVP {\n margin: 0 0.5em 0.5em 0.5em;\n min-height: min-content;\n .cardContentContainerKVP {\n height: 260px;\n }\n .cardDescriptionKVP {\n /* transition: all 1000ms cubic-bezier(0, 0.51, 0.46, 0.99); */\n width: 50%;\n opacity: 0;\n left: 1.5em;\n font-size: smaller;\n bottom: 0em;\n border-radius: 5px;\n padding: 1em;\n position: absolute;\n color: #F6F6F6;\n }\n .cardMobileFocus {\n visibility: visible;\n opacity: 1;\n z-index: 0;\n }\n .cardMobileSeen {\n color: #c6c6c6;\n }\n }\n }\n }\n "),1===e&&(0,o.se)("\n .grandParentKVP {\n border-radius: 1vw;\n background: #f7f7f7;\n & .cardContainerKVP {\n max-width: 20rem;\n justify-content: flex-start;\n .cardContentContainerKVP {\n display: flex;\n flex-direction: column-reverse;\n align-items: flex-start;\n justify-content: flex-start;\n height: min-content;\n box-shadow: none;\n background: none;\n .copyParentKVP {\n h1{\n color: #333333;\n font-size: larger;\n }\n p {\n color: #333333;\n }\n }\n .imageParent {\n .imageKVP {\n height: 3.5rem;\n }\n }\n } \n }\n }\n ");const r=document.querySelector(".whats-included h2");null!=r&&null!==(t=r.innerText)&&void 0!==t&&t.includes("What")&&(r.classList.add("headingKVP"),r.innerText="Why choose Twinkl?"),[[{heading:"Download resources to keep, forever",subheading:"Curriculum aligned, beautifully designed, with triple checked content written by teachers.",imageSrc:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/download-kvp_ver_4.png"},{heading:"Save time with AI",subheading:"Get ideas, customised teaching resources, and innovative ways to inspire your learners with over 50 AI tools.",imageSrc:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/ari-assist-kvp_ver_2.png"},{heading:"Build your own resources",subheading:"Gain full access to our incredible Create tool. Make use of our vast illustration and template library.",imageSrc:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/create-kvp_ver_2.svg"}],[{heading:"Download resources to keep forever",subheading:"Curriculum aligned, professionally designed, and expertly written by teachers.",imageSrc:"https://images.twinkl.co.uk/tr/raw/upload/u/ux/books_ver_1.svg"},{heading:"Create your own resources",subheading:"Unlock access to the Create tool for customized resource creation using our illustrations and templates.",imageSrc:"https://images.twinkl.co.uk/tr/raw/upload/u/ux/write-2_ver_1.svg"},{heading:"Save time with AI",subheading:"Reduce your workload, spark creativity, and deliver high-quality instruction with over 50 time-saving AI tools.",imageSrc:"https://images.twinkl.co.uk/tr/raw/upload/u/ux/star-2_ver_1.svg"}]][e].forEach(((e,n)=>{const t=n+1,o=document.createElement("div");o.className="cardContainerKVP",o.id=`cardContainerKVP${t}`;const r=document.createElement("div");r.className="cardContentContainerKVP",r.id=`cardContentContainerKVP${t}`;const i=document.createElement("div");i.className="copyParentKVP",i.id=`copyParentKVP${t}`;const l=document.createElement("h1");l.className="headingKVP",l.id=`headingKVP${t}`,l.innerText=e.heading;const c=document.createElement("p");c.className="subheadingKVP",c.id=`subheadingKVP${t}`,c.innerText=e.subheading;const d=new Image;d.className="imageKVP",d.id=`imageKVP${t}`,d.src=e.imageSrc;const s=document.createElement("div");s.className="imageParent",s.id=`imageParent${t}`,i.appendChild(l),i.appendChild(c),r.appendChild(i),s.appendChild(d),r.appendChild(s),o.appendChild(r),a.appendChild(o)})),n.insertAdjacentElement("beforebegin",a)}}catch(e){var a;(0,o.BI)("ABError",e,window.location.pathname+`freeTrialLandingUsps${null===(a=dataLayer[0])||void 0===a||null===(a=a.user)||void 0===a?void 0:a.country_id}`)}}},869:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);function a(e){try{(0,o.se)('\n.chart-container {\n padding: 20px;\n width: 100%;\nclear: both;\nborder: 1px solid #ccc;\nborder-radius: 4px;\nmargin-top: 1rem;\n}\n\n.chart-title {\n font-size: 16px;\n color: #333;\n margin-bottom: 20px;\n}\n\n.chart {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n height: 150px;\n gap: 15px;\n margin-bottom: 10px;\n}\n\n.bar-group {\n display: flex;\n flex-direction: column;\n align-items: center;\n flex: 1;\n height:100%;\n}\n\n.bar-wrapper {\n width: 100%;\n display: flex;\n justify-content: center;\n height: 100%;\n align-items: flex-end;\n}\n\n.bar-wrapper .bar {\n width: 100%;\n background-color: #ffb800;\n border-radius: 4px 4px 0 0;\n transition: height 0.3s ease;\n/* max-width: 28px;*/\n border: 1px solid #ff7000;\n padding:0px;\n}\n\n.value-label {\n margin-bottom: 5px;\n font-size: 14px;\n color: #666;\n}\n\n.year-label {\n margin-top: 8px;\n font-size: 14px;\n color: #666;\n text-align: center;\n height: 17px;\n}.containerWrapper {\n left: 20px;\n top: 30px;\n display: flex;\n cursor: default;\n position: absolute;\n z-index: 200000000000;\n background: #fff;\n border: 1px solid #ccc;\n padding: .6rem 0 .6rem .3rem;\n box-shadow: 2px 6px 12px 4px rgba(0, 0, 0, .4);\n border-radius: 4px;\n}\n /*.ratingWrapper {\n position:relative;\n width:auto;\n background:unset;\n border:none;\n padding:none;\n box-shadow:none;\n border-radius:0px;\n left: 0px!important;\n top: 0px!important;\n }*/\n .bar .value-label{position: absolute;\n top: -20px;\n width: 100%;\n display: flex;\n justify-content: center;\n}.chart-title {\n margin-bottom: 0px!important;\n text-align: center;\n font-size: 0.8rem!important;\n}.containerWrapper {\n padding: 20px;\n}.value-label {\n font-size: 0.7rem;\n}.bar[style="height: 0%;"] {\n display: none;\n}.chart-title {\n padding-bottom: 1em;\n}');const e='',l=window.dataLayer[0];var n=(()=>{var e=document.createElement("div");e.className="chart-container";var n=document.createElement("div");n.className="chart-title";var t=244==l.user.country_id?"Years":"Grades";n.textContent=t+" used with",e.appendChild(n);var o=document.createElement("div");return o.className="chart",["EYFS","Year 1","Year 2","Year 3","Year 4","Year 5","Year 6","Secondary"].forEach((e=>{var n=document.createElement("div");n.className="bar-group";var t=document.createElement("div");t.className="value-label",t.textContent="0%";var a=document.createElement("div");a.className="bar-wrapper";var r=document.createElement("div");r.className=`bar ${e.replace(/\s/g,"")}`,r.style.height="0%",r.appendChild(t);var i=document.createElement("div");i.className="year-label",i.innerHTML=e,a.appendChild(r),r.appendChild(t),n.appendChild(a),n.appendChild(i),o.appendChild(n)})),e.appendChild(o),e})();dataLayer[0].resource.age_profile.forEach((e=>{var t=n.querySelector(`.bar.${e.filter_tag.replace(/\s/g,"")}`);t&&(t.style.height=`${e.proportion}%`,t.querySelector(".value-label").textContent=`${e.proportion}%`),n.querySelector(".bar.Secondary").parentNode.parentNode.querySelector(".year-label").textContent="Year 7+"}));var t=226==dataLayer[0].user.country_id?{EYFS:"Pre-K","Year 1":"K","Year 2":"1st","Year 3":"2nd","Year 4":"3rd","Year 5":"4th","Year 6":"5th","Year 7+":"6th-12th",Secondary:"6th-12th"}:110==dataLayer[0].user.career_id?{EYFS:"Pre-school","Year 1":"Year 1","Year 2":"Year 2","Year 3":"Year 3","Year 4":"Year 4","Year 5":"Year 5","Year 6":"Year 6","Year 7+":"Year 7+",Secondary:"Year 7+"}:{};(e=>{var o=new Set;n.querySelectorAll(".bar-group").forEach((n=>{var a=n.querySelector(".year-label"),r=n.querySelector(".bar"),i=a?a.textContent:"",l=t[i];if(a&&r&&l&&!o.has(l)){var c=e[l];a.innerHTML=l,a.className="year-label changed",r.style.height=`${c}%`,r.querySelector(".value-label").textContent=`${c}%`,o.add(l)}}))})((c=dataLayer[0].resource.age_profile,d={},c.forEach((({filter_tag:e,proportion:n})=>{var o=t[e];o&&(d[o]||(d[o]=0),d[o]+=n)})),d)),document.querySelectorAll(".year-label:not(.changed)").forEach((e=>{var n;null===(n=e.parentNode)||void 0===n||n.remove()}));var a=0;n.querySelectorAll("[style*=height]").forEach((e=>{var n=+e.getAttribute("style").split("height: ")[1].split("%")[0];a=a>n?a:n}));var r=n.querySelector(`[style="height: ${a}%;"]`).parentNode.parentNode.querySelector(".year-label").innerText,i=document.createElement("div");i.className="dropdown",i.id="mostlyUsedWithContainer",i.innerHTML=`\n \n \n `,document.querySelector(".avg-rating-wrapper").insertAdjacentElement("beforeend",i),(0,o.se)("\n .dropdown {\n position: relative;\n display: inline-block;\n cursor: pointer;\n user-select: none;\n padding-left: 2em;\n .chevronDown {\n width: 0.7em;\n margin-left: 0.5em;\n }\n }\n .dropdown-content {\n display: none;\n position: absolute;\n background-color: #fff;\n padding: 1em;\n min-width: 520px;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 2;\nborder-radius: 6px;\nborder: 1px solid #ccc;\n }\n .is-desktop-device .dropdown:hover .dropdown-content {\n display: block;\n }\n span.mostUsedWithText {\n text-decoration: underline;\n min-width: max-content;\n }\n .avg-rating-wrapper {\n flex-wrap: wrap;\n row-gap: 0.5em;\n margin-bottom: 1em;\n #average_rating {\n margin-right: 1em;\n margin-bottom: 0;\n }\n .dropdown {\n min-width: min-content;\n padding-left: 0;\n }\n }\n .is-mobile-device {\n span.mostUsedWithText {\n text-decoration: none;\n }\n }\n"),document.querySelector(".avg-rating-wrapper .dropdown").addEventListener("mouseover",(()=>{var e;document.querySelector(".mostUsedWithText")&&(null===(e=document.querySelector("#download_link"))||void 0===e||e.classList.add("openedDistribution"))}))}catch(e){var l;(0,o.BI)("ABError",e,window.location.pathname+`mostlyUsedByModule${null===(l=dataLayer[0])||void 0===l||null===(l=l.user)||void 0===l?void 0:l.country_id}`)}var c,d}},8633:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(2766);function a(e){try{var n,t;(0,o.se)('\n .standardContainer {\n display: none;\n }\n .resourceDataParentFlex {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-flow: wrap-reverse;\n .parentCTAContainer {\n display: flex;\n flex: 1 200px;\n flex-direction: column;\n padding-top: 2em;\n #actual_downloads {\n float: none;\n width: 100%;\n margin: 0 !important;\n .download {\n float: none;\n width: 100%;\n min-width: 16rem;\n display: block;\n #download_link {\n }\n #download_link::before {\n }\n }\n }\n #download_selector_wrapper {\n width: 100%;\n display: flex;\n flex-direction: column;\n max-width: 100%;\n .download-selector-inner {\n .altHeader {\n display: none;\n }\n }\n .alt-version-include {\n display: none;\n }\n .alt-summary {\n display: none;\n }\n }\n .g-drive-container.g-drive-container-large {\n width: 100%;\n min-width: 100%;\n margin: 0;\n }\n }\n .parentForDataFlex {\n position: relative;\n width: 100%;\n display: flex;\n flex: 1 200px;\n flex-direction: column;\n padding: 0 1em;\n h6.dataHeader {\n padding: 0;\n margin: 2em 1em 1em 0;\n color: #666666;\n font-weight: 100;\n }\n p#resData-formatText {\n margin: 0;\n }\n .dropdown {\n position: relative;\n display: inline-block;\n cursor: pointer;\n user-select: none;\n padding-left: 0;\n .dropDownFlexContainer {\n flex-direction: row;\n .mostUsedWithText {\n \n }\n } \n }\n .dataContainer {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n .dataChips {\n background: lightgray;\n width: max-content;\n padding: 2px 5px;\n font-size: small;\n border-radius: 10px;\n margin: 0 0.5em 0.5em 0;\n cursor: pointer;\n } \n }\n }\n #resData-usaStandardsParent > a {\n padding: 2px 1em\n }\n }\n #container #resource #actual_downloads a#download_link:not([href^="/go/"]):not([href^="/ar-3d/"]):before {\n left: 0 !important;\n }\n .is-mobile-device {\n .parentForDataFlex {\n padding: 0 1em;\n }\n }\n ');const i=document.querySelector("#actual_downloads"),l=(dataLayer[0].user.type,null===(n=document.querySelector("#download_link"))||void 0===n?void 0:n.href),c=document.querySelector("#download_link"),d=document.querySelector("#resource_image"),s=document.querySelector(".dropdown div span.mostUsedWithText").closest(".dropdown"),u=function(){const e=document.getElementById("download_link");return(null==e?void 0:e.getAttribute("data-ext"))||!1},p=document.querySelector(".g-drive-container-large"),m=document.querySelector(".g-drive-container-small"),h=null===(t=dataLayer[0])||void 0===t?void 0:t.resource.alts,g=document.querySelector("#download_selector_wrapper"),y=document.querySelector("a.altFilemanager"),w=document.querySelector("#download_selector_wrapper a.altFilemanager"),f=document.querySelector(".standardContainer");if(window&&i&&l&&c&&d&&s&&u()){function v(e,n,t,o,a,r,i,l){const c=Object.assign(document.createElement(e),{className:`${n}`,id:`${t}`,innerText:`${r||""}`,href:`${i||""}`,title:`${l||""}`});return a.insertAdjacentElement(`${o}`,c),c}const x=v("div","resourceDataParentFlex","resourceDataParent","afterend",d),b=v("div","parentCTAContainer","parentForCTAs","afterbegin",x);b.appendChild(i),!g||b.appendChild(g);const k=v("section","parentForDataFlex","parentForData","afterbegin",x),E=v("h6","dataHeader","resData-levelHeader","beforeend",k,"LEARNER LEVEL"),A=s.cloneNode(!0),S=(E.insertAdjacentElement("afterend",e?s:A),h&&v("h6","dataHeader","resData-altVersionsHeader","beforeend",k,"ALTERNATIVE VERSIONS"),h?v("div","dataContainer","resData-altVersionsParent","beforeend",k):{});function C(e,n,t){Array.isArray(e)||(e=[...Object.values(e)]);let o=1,a=!1;const r=w?"":l;e.forEach(((e,i)=>{o<=3&&(v("a","dataChips",`resData-${t}${i}`,"beforeend",n,e,r),o++),o>3&&!a&&(v("a","dataChips",`resData-altVersionsTextChip${i}`,"beforeend",n,"..."),a=!0)}))}if(v("h6","dataHeader","resData-formatHeader","beforeEnd",k,"FORMATS INCLUDED"),v("p","dataText","resData-formatText","beforeend",k,`${u()}`),!p||b.insertAdjacentElement("beforeend",p),!m||b.insertAdjacentElement("beforeend",m),!h||C(h,S,"altVersionsChip"),h&&y&&w&&S.addEventListener("click",(e=>{"A"==e.target.tagName&&(e.preventDefault(),y.click())})),f){var a;function T(e,n,t){Array.isArray(e)||(e=[...Object.values(e)]);let o=1,a=!1;e.forEach(((e,r)=>{o<=5&&(v("a","dataChips",`resData-${t}${r}`,"beforeend",n,e.innerText,e.href,e.title),o++),o>5&&!a&&(v("p","dataChips","resData-ShowMoreStandards","beforeend",n,"..."),a=!0)}))}const _=[...document.querySelectorAll(".standardContainer .standard a")],B=[],q=[];function L(){_.forEach((e=>{let n=e.parentElement.classList,t={};t.innerText=e.innerText,t.href=e.href,t.title=e.parentElement.title,n.contains("second")?n.contains("second")&&q.push(t):B.push(t)}))}L(),v("h6","dataHeader","resData-usaStandardsHeader","beforeend",k,"ALIGNED STANDARDS");const $=v("div","dataContainer","resData-usaStandardsParent","beforeend",k),I=v("div","dataContainer","resData-usaStandardsMidParent","beforeend",k);!B||T(B,$,"usaStandDataTop"),!q||T(q,I,"usaStandDataTop"),null===(a=document.querySelector("#resData-ShowMoreStandards"))||void 0===a||a.addEventListener("click",(e=>{(0,o.se)("\n .standardContainer {\n display: flex;\n }")}))}}}catch(D){var r;(0,o.BI)("ABError",D,window.location.pathname+`resourceDataModule-${null===(r=dataLayer[0])||void 0===r||null===(r=r.user)||void 0===r?void 0:r.country_id}`)}}},3528:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(1018);const a=[{type:"click",name:"ClickedFuzzyResults",parentEl:"#noResults .searchMain .left",childEl:".resultContainer:not(.linked-container) a"},{type:"click",name:"ClickedInternationalResults",parentEl:".searchMain .left",childEl:".internationalResultsContainer .resultContainer:not(.linked-container) a:not(.download):not(.download-alt)"},{type:"click",name:"ClickedResults",parentEl:".searchMain .left",childEl:".resultContainer:not(.linked-container) a:not(.download):not(.download-alt)"},{type:"click",name:"Clicked21+",parentEl:".searchMain .left",childEl:".resultContainer:not(.linked-container):nth-child(n+21) a:not(.download):not(.download-alt)"},{type:"click",name:"Clicked1-8",parentEl:".searchMain .left",childEl:".resultContainer:not(.linked-container):nth-child(n+2):nth-child(-n+9) a:not(.download):not(.download-alt)"},{type:"click",name:"Clicked9-20",parentEl:".searchMain .left",childEl:".resultContainer:not(.linked-container):nth-child(n+10):nth-child(-n+21) a:not(.download):not(.download-alt)"},{type:"click",name:"ClickedSuggestion",parentEl:".similarSearches",childEl:"a.similar",mod:3},{path:/^\/resource\//,type:"click",name:"ClickedAllAutocomplete",parentEl:"#search_form",childEl:".ui-autocomplete a"},{path:/^\/resource\//,type:"click",name:"ClickedResourceSuggestion",parentEl:".similarSearches",childEl:"a.similar"},{type:"click",name:"ClickedSuggestionBlock",parentEl:".searchBlockContent",childEl:"a.similar",mod:3},{type:"click",name:"ClickedFirstSuggestion",parentEl:".similarSearches",childEl:"a.similar:nth-of-type(1)"},{type:"click",name:"ClickedSecondSuggestion",parentEl:".similarSearches",childEl:"a.similar:nth-of-type(2)"},{type:"click",name:"ClickedThirdSuggestion",parentEl:".similarSearches",childEl:"a.similar:nth-of-type(3)"},{type:"click",name:"ClickedFourthSuggestion",parentEl:".similarSearches",childEl:"a.similar:nth-of-type(4)"},{type:"click",name:"ClickedFifthSuggestion",parentEl:".similarSearches",childEl:"a.similar:nth-of-type(5)"},{type:"click",name:"clickedClearFilterItem",parentEl:"#filters",childEl:".selected-filter"},{type:"click",name:"clickedClearFilters",parentEl:"#filters",childEl:"a#clearFilters"},{type:"click",name:"downloadFromSearch",parentEl:"body",childEl:"a#download_link"},{type:"on",on:"clickedFilters",name:"filterClick",cb:function(e){let n={...this};return n.name+=e,n}},{path:/^\/resource\//,type:"on",on:"download",name:"Download",cb:function(e){let n={...this},t=(JSON.parse(sessionStorage.getItem("clickedInternational"))||[]).includes(e)?"AfterClickIntl":"";return n.name+=t,n}},{path:/^\/resource\//,type:"on",on:"download",name:"downloaded",cb:function(e){let n={...this},t=JSON.parse(sessionStorage.getItem("latestSearch"))||!1,a=t?(0,o.g5)(new Date(t.time),new Date):"";return n.name+=a||"",n}},{path:/^\/resource\//,type:"click",name:"thumbsUp",parentEl:"#resourceMain",childEl:"#feedback_link_yes"},{path:/^\/resource\//,type:"click",name:"thumbsDown",parentEl:"#resourceMain",childEl:"#feedback_link_no"}];CSS.supports("selector(:has(*))")&&a.push({type:"click",name:"ClickedAutocompleteSearchSvg",parentEl:"#search_form",childEl:"a:has(svg)"},{type:"click",name:"ClickedAutocompleteSearchMag",parentEl:"#search_form",childEl:"a:has(img[src='https://images.twinkl.co.uk/tr/raw/upload/u/ux/combined-shape_ver_1.png'])"},{type:"click",name:"ClickedAutocompleteSearchImg",parentEl:"#search_form",childEl:"a:has(img[src^='https://images.twinkl.co.uk/tw1n/image/private'])"},{path:/^\/resource\//,type:"click",name:"ClickedAutocompleteResourceSvg",parentEl:"#search_form",childEl:"a:has(svg)"},{path:/^\/resource\//,type:"click",name:"ClickedAutocompleteResourceMag",parentEl:"#search_form",childEl:"a:has(img[src='https://images.twinkl.co.uk/tr/raw/upload/u/ux/combined-shape_ver_1.png'])"},{path:/^\/resource\//,type:"click",name:"ClickedAutocompleteResourceImg",parentEl:"#search_form",childEl:"a:has(img[src^='https://images.twinkl.co.uk/tw1n/image/private'])"});const r=a},9348:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const s=window.dataLayer[0];localStorage.catDownloadId&&JSON.parse(localStorage.catDownloadId)&&localStorage.removeItem("catDownloadId");var e=!1,n=!1,t=[],r=!!(/^244$|^245$|^246$|^247$/.test(s.user.country_id)&&/^1$|^11$|^12$|^25$/.test(s.user.language_id)&&s.user.loggedIn&&a.xl),i=!!localStorage.categoryDownloadId&&JSON.parse(localStorage.categoryDownloadId);if(/^\/resources\//.test(location.pathname)&&r&&(t=Array.from(document.querySelectorAll('#resources .resource-preview[data-download="1"][data-version="A"]'))).length>0){var l=!1;i||(i={}),t.forEach((e=>{var n,t=null==e||null===(n=e.querySelector("img"))||void 0===n?void 0:n.getAttribute("data-resource-id");t&&!i[t]&&(l=!0,i[t]=0)})),l&&(localStorage.categoryDownloadId=JSON.stringify(i))}if(/^\/resource\//.test(location.pathname)&&i&&r){var c,d=null===(c=n=document.querySelector("#actual_downloads"))||void 0===c?void 0:c.getAttribute("data-resource-id");0==i[d]&&(n.classList.add("instantDownload"),e=!0)}const u=[{regex:/^\/resources\/|^\/resource\//,options:r&&(/^\/resources\//.test(location.pathname)&&t&&t.length>0||/^\/resource\//.test(location.pathname)&&e)}],p=(0,a.DX)(["funnel","products","upgrades"]),m=(0,a.kQ)(["download"]);m.push({type:"click",name:"Download",parentEl:".resource-preview",childEl:".buttonContainer a"}),m.push({type:"click",name:"downloadedFlaggedCategoryPage",parentEl:".resource-preview",childEl:".buttonContainer a"}),m.push({type:"click",name:"DownloadedFlagged",parentEl:".resource-preview",childEl:".buttonContainer a",mod:5}),m.push({type:"click",name:"downloadedFlaggedResourcePage",parentEl:"#actual_downloads",childEl:".instantDownload a"}),m.push({type:"click",name:"DownloadedFlagged",parentEl:"#actual_downloads",childEl:".instantDownload a",mod:5}),m.push({type:"click",name:"clickedFlaggedResource",parentEl:"#resources .resource-preview[data-download='1']",childEl:".resource-preview[data-download='1']>a:not(.saveIcon)"});const h=()=>{try{/^\/resources\//.test(location.pathname)&&(t.forEach((e=>{var n,t,o=null==e||null===(n=e.querySelector("img"))||void 0===n?void 0:n.getAttribute("data-resource-id");if(o){var a=e.querySelector(".stars");e.insertAdjacentHTML("beforeend",``);var r=e.querySelector(".buttonContainer"),i=r.querySelector(".needsright");a?(a.classList.add("col-6"),i.classList.add("col-6"),r.insertAdjacentElement("afterbegin",a)):i.classList.add("col-12")}})),(0,a.se)(".resource-preview .btn{ width: 100px; height: 25px;font-size: 12px;border-radius: 4px; background-color: #5d8200; background-size: cover;color: #fff;text-decoration: none solid #fff; text-align: center; box-shadow: 0 3px 5px rgb(0 0 0 / 20%); font-size: 12px; border: 2px solid #4c6509; text-decoration: none;\n }.resource-preview .btn .downloadImg{transform: scale(0.8);}.downloadContainer{display:flex;align-items: center;}.resource-preview:hover .downloadContainer img{ box-shadow:none!important;border:none}.buttonContainer a{display:flex;} ul#resources li .stars .reviews,ul#resources li .stars .arrowRatings {display:none}.buttonContainer{display: flex;\n justify-content: space-between; align-items: center; margin-top: 6px;}.buttonContainer .needsright{display:flex; justify-content:flex-end}"))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+g)}},g="categoryInstantDownloadButtonReset4",y={n:g,t:()=>w(u),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:h}],g:{u:p,e:m},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function w(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function f(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return w(u)||!!e&&e[null===(n=window.btoa(g))||void 0===n?void 0:n.replace(/=/g,"")]&&(w(p)||f(m))},codeToRun:()=>{w(u)?(0,a.Gc)((function(){o.A.init(y)})):(w(p)||f(m))&&(0,a.Hh)((function(){o.A.init(y)}))}}}catch(v){const x="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",v,window.location.pathname+"-"+x)}}},8280:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/$/,options:!!a.xl&&!e.user.loggedIn&&0==e.user.twinklid&&!!document.querySelector(".front_panel_container")&&/^12$|^226$/.test(e.user.country_id)&&/^1$|^11$|^12$|^25$/.test(e.user.language_id)}],t=[],r=[],i=()=>{try{var e=document.querySelector(".signUpBox h1"),n=document.querySelector(".signUpBox button.green:not(#next):not(.withArrow)");e&&(e.innerText="Create FREE account"),n&&(n.innerText="Create your FREE Twinkl account")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="ProspectDashyAddFREEWordingAUSUS",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"ProspectDashyAddFREEWordingAUSUS",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?document.fn.events.on("twoStepSignUpDone",(()=>o.A.init(c))):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},9861:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const t=window.dataLayer[0];var e=document.querySelector(".header-card.active"),n=document.getElementById("recently-viewed");const r=[{regex:/^\/$/,options:t.user.loggedIn&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&!!e&&!!n&&!!document.getElementById("recentlyViewedList")}],i=(0,a.DX)(["funnel","upgrades","products"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedDashyResource",parentEl:"#homepage-main",childEl:".display-box a"}),l.push({type:"click",name:"clickedRecentlyViewed",parentEl:"#homepage-main",childEl:".recently-viewed-resource a"}),l.push({type:"click",name:"clickedSimilarCareers",parentEl:".members-with-similar-careers-downloaded",childEl:"a"}),l.push({type:"click",name:"clickedRecommended",parentEl:"#homepage-main",childEl:".recommended-resource a"}),l.push({type:"click",name:"clickedCalendarEvent",parentEl:"#eventsTopicsList",childEl:".event-box a"}),l.push({type:"click",name:"clickedMembersDownloading",parentEl:".members-downloading-box",childEl:".members-downloading a"}),l.push({type:"click",name:"clickedRecentlyDownloaded",parentEl:".box-body",childEl:".recently-downloaded>a"}),l.push({type:"click",name:"openedRecentlyViewedTab",parentEl:"body",childEl:".header-card"}),l.push({type:"click",name:"clickedResourceInTab",parentEl:"body",childEl:".rv-resource a"}),l.push({type:"click",name:"clickedRecentlyViewedCombined",parentEl:"body",childEl:".rv-resource a, #homepage-main .recently-viewed-resource a"});const c=()=>{try{e.remove(),n.remove()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="dashyRemoveRecentlyViewedTab",s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?(0,a.Gc)((function(){o.A.init(s)})):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},8785:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/$/,options:o.Fr&&e.user.loggedIn&&/free|paid/.test(e.user.type)}];n[0].regex.test(location.pathname)&&n[0].options&&document.getElementById("homepage-main").addEventListener("click",(e=>{var n=e.target.closest("a"),t=null==n?void 0:n.closest(".display-box");n&&t&&document.fn.events.emit("clickedWidgetEvent",[...t.parentNode.children].indexOf(t))}));const t=(0,o.DX)(["funnel"]),a=(0,o.kQ)(["download"]);a.push({type:"click",name:"allClicksHomePageResources",parentEl:"#homepage-main",childEl:"a"}),a.push({type:"click",name:"clickedRecentlyViewed",parentEl:"#recentlyViewedList",childEl:".recently-viewed-resource"}),a.push({type:"click",name:"clickedTopic",parentEl:"#eventsTopicsList",childEl:".topic-calendar-image"}),a.push({type:"click",name:"clickedMembersDownloadingNow",parentEl:".members-downloading-box",childEl:".res-item a"}),a.push({type:"on",on:"clickedWidgetEvent",name:"clickedWidget-",cb:function(e){let n={...this};return n.name+=e,n}});const r=()=>{try{(0,o.se)("\n@media (max-width: 767px){\n .display-box .hidden-sm-down, .display-box .hidden-md-down {\n display: block!important;\n }\n .box-body {\n display: flex;\n flex-wrap: wrap;\n gap: 1rem 0;\n }\n}\n")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="dashyWidgetsExpandedMobile",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5806:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/$/,options:!o.aC.member.schoolAccount&&n.user.loggedIn&&"free"==n.user.type&&o.aC.lang.en&&o.aC.country.uk&&o.xl&&document.querySelector("div.ultimateCTAContainer.t-dropdown-container a[href^='/free-trial']")&&document.querySelector("#dashy-home .user-dashy-item[data-item='membership']")}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"landedOnFreeTrial",regex:/^\/free-trial-landing/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedLeftHandSide",parentEl:".order-1",childEl:"a"}),r.push({type:"click",name:"clickedMembership",parentEl:".order-1",childEl:"div.user-dashy-item[data-item='membership'] a"});var e=()=>{document.querySelector('.user-dashy-item[data-item="membership"]').innerHTML='
1
\n

FREE Trial

',(0,o.se)('.membershipNotification {\n position: absolute;\n top: 8px;\n right: 18px;\n background: #ff0000;\n width: 15px;\n height: 15px;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n align-content: center;\n font-size: 10px;\n }.user-dashy-item[data-item="membership"] a{\n position:relative;\n }')};const i=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+c)}},l=()=>{try{e(),(0,o.se)('.membershipNotification, .user-dashy-item[data-item="membership"] svg, .user-dashy-item[data-item="membership"] p {\n animation: bounce2 1.5s ease infinite;\n}\n@keyframes bounce2 {\n\t0%, 20%, 50%, 80%, 100% {transform: translateY(0);}\n\t40% {transform: translateY(-10px);}\n\t60% {transform: translateY(-5px);}\n}\n')}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="freeTrialLeftHandDashyBounce",d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2231:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/$/,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&document.querySelector('.user-dashy-item[data-item="home"]')&&document.querySelector('.user-dashy-item[data-item="membership"]')&&o.aC.lang.en&&o.aC.country.uk}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedLeftHandSide",parentEl:".order-1",childEl:"a"}),a.push({type:"click",name:"clickedMembership",parentEl:".order-1",childEl:"div.user-dashy-item[data-item='membership'] a"});const r=()=>{try{document.querySelector('.user-dashy-item[data-item="home"]').insertAdjacentElement("afterend",document.querySelector('.user-dashy-item[data-item="membership"]'))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="moveFreeTrialIconToPos1",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4230:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const l=window.dataLayer[0];var e=document.querySelector(".formField.js-validate:not(.occDiv)"),n=document.querySelector(".formField.js-validate:nth-of-type(2)"),t=document.querySelector(".bottomFormHolder > button.green"),r=document.getElementById("email"),i=document.getElementById("password");const c=[{regex:/^\/$/,options:a.xl&&!l.user.loggedIn&&0==l.user.twinklid&&!!e&&!!n&&!!t&&!!r&&!!i&&/^226$/.test(l.user.country_id)&&/^1$|^11$|^12$|^25$/.test(l.user.language_id)&&"www.twinkl.com"==location.hostname&&/^US/.test(l.geo)}],d=(0,a.DX)(["funnel"]);d.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),d.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),d.push({name:"visitedSignUp",type:"pathname",regex:/^\/sign-up$/,options:!0}),d.push({name:"visitedSignIn",type:"pathname",regex:/^\/sign-in$/,options:!0}),d.push({name:"visitedProspectDashy",type:"pathname",regex:/^\/$/,options:!l.user.loggedIn&&0==l.user.twinklid});const s=(0,a.kQ)(["download"]);s.push({type:"click",name:"clickedSignInInstead",parentEl:"#new_sign_up_form",childEl:".signInHolder a"}),s.push({type:"click",name:"clickedNext",parentEl:"#new_sign_up_form",childEl:"#next"}),s.push({type:"click",name:"clickedBack",parentEl:"#new_sign_up_form",childEl:"#back"}),s.push({type:"click",name:"clickedSubmit",parentEl:"#new_sign_up_form",childEl:"button.button.green:not(#next)"});const u=()=>{try{document.fn.events.emit("twoStepSignUpDone")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-control-"+m)}},p=()=>{try{var o=!1,l=new RegExp("^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$");r.addEventListener("input",(function(){var e=r.value;o=l.test(e)}));var c=document.createElement("div");c.className="email-input-div",r.insertAdjacentElement("beforebegin",c),c.appendChild(r),n.classList.add("hidden"),i.placeholder="Create a password",r.placeholder="Enter your email",t.classList.add("hidden"),t.classList.add("withArrow"),t.innerHTML='',n.insertAdjacentElement("beforeend",t);var d=document.createElement("button");d.id="next",d.className="button green",d.innerHTML='',e.insertAdjacentElement("beforeend",d);var s=document.createElement("div");s.id="back",s.className="hidden",s.className="backToEmail hidden",s.innerHTML='',n.insertAdjacentElement("afterend",s),d.addEventListener("click",(a=>{a.preventDefault(),o&&(e.classList.add("hidden"),n.classList.remove("hidden"),n.focus(),s.classList.remove("hidden"),t.classList.remove("hidden"),document.querySelector(".form-error")&&document.querySelector(".form-error").remove())})),document.querySelector("#back .backToEmailLink").addEventListener("click",(function(){n.classList.add("hidden"),e.classList.remove("hidden"),e.focus(),s.classList.add("hidden")}));var u=document.createElement("div");u.className="signInHolder",u.innerHTML='Already have an account? Sign in instead',document.querySelector(".signUpBox").appendChild(u),(0,a.se)(".hidden, .hide {display: none!important;} #new_sign_up .formField:not(.occDiv):not(.otherOccupation), .signUpInHolder .formField:not(.occDiv):not(.otherOccupation) {display: flex; flex-wrap: wrap; column-gap: 10px;} .formField .password-input-div, .formField .email-input-div {flex: 6; display: flex;} .formField button {flex: 1} .has-error .form-error {width: 100%;} #back {color: #0066c0; width: 100%; text-align: left; font-size: 12px; margin-top: 10px;} .password-input-div input, .email-input-div input {height: 100%;} #next {background-color: #5d8200;} #next:hover {background-color: #4c6509;} #new_sign_up_form .bottomFormHolder {padding: 1px 0 0;} #new_sign_up, .signUpInHolder, #front_panel_search .new_sign_up_form {width: 500px!important; max-width: 500px!important;} .prospect-height {height: 420px!important;} .backToEmailLink {max-width: max-content; white-space: nowrap; display: inline-block; cursor: pointer;} .backToEmailLink:hover {text-decoration: underline;} .new_sign_up .signUpBox {margin-top: 0;} #new_sign_up .formField, .signUpInHolder .formField {margin-bottom: 18px; margin-bottom: 0;} .signInHolder {font-size: 12px;} #new_sign_up label {position: absolute; left: 26px; top: 58px; background: #fff; max-width: max-content; padding-right: 5px; padding-left: 5px; z-index: 1;} #new_sign_up input, .signUpInHolder input {padding: 4px 10px;} .email-input-div {position: relative; cursor: pointer;} .signInHolder a:hover {color: #0066c0;}"),document.fn.events.emit("twoStepSignUpDone"),(0,a.Hh)((()=>{$(document).on("ajaxComplete",(function(e,n,t){var o;/\/user\/create$/.test(t.url)&&(null===(o=document.querySelector(".backToEmailLink"))||void 0===o||o.click(),document.querySelector("#new_sign_up label").classList.add("error"),(0,a.se)(".email-input-div.has-error {\n display: flex;\n flex-direction: column;\n }.has-error .form-error {\n margin-top: 12px;\n }"))}))}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+m)}},m="prospectDashyTwoStepSignUpUKDesktop",h={n:m,t:()=>g(c),ttl:60,b:[{name:"original",weight:1,run:u},{name:"variant",weight:1,run:p}],g:{u:d,e:s},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function g(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function y(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return g(c)||!!e&&e[null===(n=window.btoa(m))||void 0===n?void 0:n.replace(/=/g,"")]&&(g(d)||y(s))},codeToRun:()=>{g(c)?(0,a.Gc)((function(){o.A.init(h)})):(g(d)||y(s))&&(0,a.Hh)((function(){o.A.init(h)}))}}}catch(w){const f="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",w,window.location.pathname+"-"+f)}}},9199:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const t=window.dataLayer[0];var e=t.recommendation,n=function(){var n=document.querySelector("#rvl");n.innerHTML="",e.user.forEach((function(e,t){if(t<=3){n.insertAdjacentHTML("beforeend",'');for(var o=e.rating.average,a=0;a<5;a++)a'):document.querySelectorAll("#rvl .starRating")[t].insertAdjacentHTML("beforeend",'
')}})),document.fn.events.emit("loadedContent")};const r=[{regex:/^\/$/,options:!!e&&e.user.length>3&&/^244$|^247$|^246$|^245$/.test(t.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(t.user.language_id)}],i=(0,a.DX)(["funnel","upgrades","products"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"allClicksHomePageResources",parentEl:"#homepage-main",childEl:"a"}),l.push({type:"click",name:"clickedRecentlyViewed",parentEl:"#recentlyViewedList",childEl:".recently-viewed-resource"}),l.push({type:"click",name:"clickedTopic",parentEl:"#eventsTopicsList",childEl:".topic-calendar-image"}),l.push({type:"click",name:"clickedMembersDownloadingNow",parentEl:".members-downloading-box",childEl:".members-downloading"}),l.push({type:"click",name:"clickedRecommendedForYou",parentEl:".box-body#recommendedViewedList",childEl:".recommended-resource a"}),l.push({type:"click",name:"clickedRecommendedForYou",parentEl:".box-body#rvl",childEl:".recommended-resource a"}),l.push({type:"click",name:"membersWithSimilarCareersDownloaded",parentEl:".display-box .box-body .members-with-similar-careers-downloaded",childEl:"a"});const c="recommendedForYouDashyReset1",d={n:c,t:()=>s(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"recommendedForYouDashy",weight:1,run:()=>{try{document.querySelector("#recommendedViewedList").id="rvl",n()}catch(e){}}},{name:"recommendedForYouDashy2",weight:1,run:()=>{try{document.querySelector("#recommendedViewedList").id="rvl",n(),document.querySelector('.display-box[data-title="recently-viewed"]').insertAdjacentElement("afterend",document.querySelector(".display-box#recommended-list-show"))}catch(e){}}}],g:{u:i,e:l},o:{bucket:-1,testing:!1,fnDataApi:"ga",encodeCookie:!0,deploy:2}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return s(r)||!!e&&e[null===(n=window.btoa(c))||void 0===n?void 0:n.replace(/=/g,"")]&&(s(i)||u(l))},codeToRun:()=>{s(r)?o.A.init(d):(s(i)||u(l))&&(0,a.Gc)((function(){o.A.init(d)}))}}}catch(p){(0,a.BI)("AB",p,location.pathname+"-"+expName)}}},8032:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/$/,options:!o.aC.member.schoolAccount&&!e.user.loggedIn&&!!e.user.twinklid&&"free"==e.user.type&&!!document.querySelector(".aboutTwinklBox")&&!!document.querySelector(".welcome-back-box")&&document.querySelector('.display-box[data-title="recently-viewed"]')}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickSignInButtonOnPage",parentEl:"#homepage-main",childEl:"a[href='sign-in']"}),a.push({type:"click",name:"clickedRecentlyViewed",parentEl:"#homepage-main",childEl:".res-item a"}),a.push({type:"click",name:"clickedWelcomeBackSignIn",parentEl:"#homepage-main",childEl:".welcome-back-box a"});const r=()=>{try{var e;null===(e=document.querySelector(".welcome-back-box"))||void 0===e||e.remove();var n=document.querySelector(".aboutTwinklBox");document.querySelector("#homepage-main").insertAdjacentElement("afterbegin",n)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="signInButtonAtTheTopOfDashyLoggedOut",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},6906:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const t=window.dataLayer[0],a="MMOrder",r=[{regex:/^\//,options:o.aC.country.is("244")&&/^21$|^22$|^23$|^47$|^110$|^0$/.test(null==t||null===(e=t.user)||void 0===e?void 0:e.career_id)&&o.Fr&&!!window.document.querySelector(".menuTab")}];if(r[0].options){var n=document.querySelector(".menuTab");n&&n.addEventListener("click",(e=>{var n=e.target.closest(".menuTab>li>a");if(n){var t=n.parentNode;window.document.fn.events.emit("mmHeaderClick",[...t.parentNode.children].indexOf(t))}}))}const i=(0,o.DX)(["funnel"]);i.push({name:"signed-up",type:"search",regex:/signed_up/,options:!0});const l=(0,o.kQ)(["download"]);l.push({type:"click",name:"clickedMMHome",parentEl:".menuTab",childEl:'.menuTab>li>a[href="/"]'}),l.push({type:"click",name:"clickedAnyMMTop",parentEl:".menuTab",childEl:".menuTab>li>a"}),l.push({type:"click",name:"clickedAnyMMDropdownTop",parentEl:".menuTab",childEl:"a.megaMenuArrowDown"}),l.push({type:"click",name:"clickedAnyMM",parentEl:".menuTab",childEl:"a"}),l.push({type:"click",name:"clickedAnyMMNested",parentEl:".menuTab",childEl:".megaMenuArrowDown ~ ul a"}),l.push({type:"on",on:"mmClicked",name:"clickedAnyMMNested",parentEl:".menuTab",childEl:".megaMenuArrowDown ~ ul a"}),l.push({type:"on",on:"mmHeaderClick",name:"clickedMMIndex-",cb:function(e){let n={...this};return n.name+=e,n}});const c={n:a,tg:r,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{try{var e=document.querySelectorAll(".megaMenuArrowDown"),n=null==e?void 0:e[e.length-1].parentNode.nextElementSibling;e&&e.length&&n&&[...document.querySelectorAll(".menuTab>li>a")].some((e=>("/"!==e.getAttribute("href")&&-1==e.getAttribute("href").indexOf("recommendation")&&-1==e.className.indexOf("megaMenuArrowDown")&&n.insertAdjacentElement("beforebegin",e.parentNode),e.className.indexOf("megaMenuArrowDown")>-1)))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+a)}}}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},737:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/free-trial-payment\//,options:!a.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&a.aC.lang.en&&a.xl&&document.querySelector(".yearly")&&document.querySelector(".monthly")&&(a.aC.country.uk||/^226$|^154$|^12$/.test(e.user.country_id))}],t=(0,a.DX)(["funnel","products"]);t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedAnnualButton",parentEl:"body",childEl:".yearly"}),r.push({type:"click",name:"clickedMonthlyButton",parentEl:"body",childEl:".monthly"});const i=()=>{},l=()=>{try{document.querySelectorAll(".payableAs").forEach((e=>e.innerText="Cancel trial any time"))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},c=()=>{try{document.querySelectorAll(".payableAs").forEach(((n,t)=>{n.innerText=0==t?226==e.user.country_id&&12==e.user.language_id?"Paid annually":"Paid Annually":226==e.user.country_id&&12==e.user.language_id?"Cancel any time":"Paid Monthly"}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d=`cancelTrialAnyTimeABC-${a.aC.country.uk?"UK":e.user.country_id}-${e.user.language_id}`,s={n:d,t:()=>u(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l},{name:"variant2",weight:1,run:c}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return u(n)||!!e&&e[null===(o=window.btoa(d))||void 0===o?void 0:o.replace(/=/g,"")]&&(u(t)||p(r))},codeToRun:()=>{u(n)?(0,a.Gc)((function(){o.A.init(s)})):(u(t)||p(r))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},1515:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const l=window.dataLayer[0];if(a.Fr&&/^\/payment$/.test(window.location.pathname))var e=document.getElementById("monthly-payment-btn"),n=document.getElementById("payment-form"),t=document.querySelector("#front_panel_1.paymentPanel.mobile-paymentPanel .topUSP")?document.querySelector("#front_panel_1.paymentPanel.mobile-paymentPanel .topUSP").innerText.match(/Core|Extra|Ultimate/):void 0,r=t&&"Core"==t?"£53.88":t&&"Extra"==t?"£74.88":t&&"Ultimate"==t?"£101.88":void 0,i=t&&"Core"==t?"5.29":t&&"Extra"==t?"7.39":t&&"Ultimate"==t?"9.99":void 0;const c=[{regex:/^\/payment$/,options:!!a.Fr&&l.user.loggedIn&&"free"==l.user.type&&!!e&&!!n&&!!t&&!!r&&!!i&&!/^47$|^781$/.test(l.user.career_id)&&/^244$|^245$|^246$|^247$/.test(l.user.country_id)&&/^1$|^11$|^12$|^25$/.test(l.user.language_id)}],d=[],s=[],u=()=>{try{var t=document.createElement("div"),o=document.createElement("div");t.className="annualTab",o.className="annualTabOverlay";var l=e.getAttribute("href"),c=n.cloneNode(!0);c.id="payment-formDupe",c.querySelector("button").innerText="Select Annual",c.style="display: block";var d=c.outerHTML,s=12*+i;s=s.toFixed(2),t.innerHTML=`
Switch to annual and save!

Only ${r}/year compared to £${s}/year with a monthly plan

${d}Continue with Monthly`,document.body.appendChild(t),document.body.appendChild(o),e.addEventListener("click",(function(e){e.preventDefault(),o.classList.add("showing"),t.classList.add("showing")})),(0,a.se)(".annualTab{position: absolute; display: none}.annualTabOverlay{display: none; position: fixed; width: 100%; height: 100%; background-color: #000; top: 0; opacity: 0.5; left: 0; animation: bottomNavOverlay 0.35s linear; z-index: 111111;}.annualPinkBanner{font-family: robotobold,Arial,Helvetica,sans-serif; background-color: #d91878; color: #fff; padding: 6px 0; height: max-content; width: 100%; box-shadow: 0 2px 4px rgb(0 0 0 / 40%);}.annualTab p.annualPrice{padding: 25px 20px 10px 20px;}.keepMonthly{font-family: robotobold,Arial,Helvetica,sans-serif; padding-top: 30px; padding-bottom: 20px;}.annualTab a.largeButton{width: 85%;}.annualTab a.green:hover{color: #fff; text-decoration: none;.annual}.annualTabOverlay.showing{display: block;}.annualTab.showing{position: fixed; overflow: hidden; display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; background: white; bottom: 0; height: 280px; border-radius: 15px 15px 0 0; z-index: 1111111111; padding: 20px 0; animation: moveUp .35s cubic-bezier(0.895, 0.030, 0.685, 0.220) forwards;}.annualTab form{width: 100%;}.annualTab form button{width: 75%;}@keyframes moveUp{0%{bottom:-280px;}100%{bottom:0;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+p)}},p="mobilePaymentAnnualPrompt",m={n:p,t:()=>h(c),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"mobilePaymentAnnualPrompt",weight:1,run:u}],g:{u:d,e:s},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function h(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function g(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return h(c)||!!e&&e[null===(n=window.btoa(p))||void 0===n?void 0:n.replace(/=/g,"")]&&(h(d)||g(s))},codeToRun:()=>{h(c)?(0,a.Gc)((function(){o.A.init(m)})):(h(d)||g(s))&&(0,a.Hh)((function(){o.A.init(m)}))}}}catch(y){const w="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",y,window.location.pathname+"-"+w)}}},2848:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/a-payment\/monthly\//,options:a.xl&&!a.aC.member.schoolAccount&&n.user.loggedIn&&"free"==n.user.type&&!!document.querySelector(".freeTrial99Label")&&a.aC.lang.en&&(a.aC.country.uk||/^226$|^154$|^12$/.test(n.user.country_id))&&document.querySelector("#order_summary")}],r=(0,a.DX)(["funnel","upgrades","products"]);r.push({name:"premiumThanksSub",regex:/^\/premium-thanks/,options:!0});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),i.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});var e=e=>{document.querySelector("#order_summary").insertAdjacentHTML("afterend",`
Trusted Icon

${e}

\n \n
Trusted Icon

Cancel trial anytime.

\n\n\n
Trusted Icon

Unlimited access to millions of resources!

\n \n
`),(0,a.se)(".noPaymentTaken{\n display: none;}\n .uspPara {\n border-radius: 5px;\n font-size: 13px;\n margin:0!important;\n }.uspContainer{\n padding: 15px;\n background: #ddeffd94;\n border: 2px solid #2399f9a1;\n display: flex;\n flex-direction: column;\n gap: 14px;\n border-radius: 15px;\n margin-bottom:25px;\n }.paymentPageUsp {\n display: flex;\n align-items: center;\n align-content: center;\n gap: 15px;\n }")};const l=()=>{try{e("Nothing to pay today.")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-control-"+d)}},c=()=>{try{e("Rest easy, nothing to pay today!")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d=`nothingToPayTodayVariant${a.aC.country.uk?"UK":n.user.country_id}`,s={n:d,t:()=>u(t),ttl:60,b:[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(t)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(r)||p(i))},codeToRun:()=>{u(t)?(0,a.Gc)((function(){o.A.init(s)})):(u(r)||p(i))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},4370:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/premium\/individual\/secondary$/,options:!!a.xl&&"paid"!==e.user.type&&/^244$|^245$|^246$|^247$/.test(e.user.country_id)&&/^1$|^11$|^12$|^25$/.test(e.user.language_id)}],t=(0,a.DX)(["funnel","upgrades","products"]),r=(0,a.kQ)(["download"]),i=()=>{try{(0,a.se)('.bg-beyond-blue[data-id="secondary-resource-pack"] {\n display: none;\n}')}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="removeFreeResourcePackSecondaryPremium",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},6186:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/premium\/school\/primary$/,options:e.user.loggedIn&&!!e.user.schoolAccount&&(document.querySelector(".coreSub.current")||document.querySelector(".extraSub.current"))&&a.aC.country.uk&&a.aC.lang.en&&a.xl}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"requestAccess",parentEl:".packages",childEl:".contactAdmin.green"});const i=()=>{try{if(document.querySelector(".coreSub.current")){(0,a.se)(".packageBox-wrapper {\n padding: 0px!important;\n}.current .packageBox-wrapper-intro {\n color: grey!important;\n}.packageBox-wrapper.col-12.col-md-4.coreSub.current {\n background: unset;\n border: unset!important;\n box-shadow: unset!important;\n}.order-5.order-md-0 {\n border-radius: 5px;\n}.current .order-5.order-md-0 {\n border: 3px solid #bebebe;\n}.header {\n padding-top: 0!important;\n}p.largeTitle {\n margin: unset!important;\n padding: 15px 0!important;\n color:white!important;\n line-height:unset!important;\n}.coreSub p.largeTitle {\n background: #bebebe;\n}.extraSub p.largeTitle {\n background: #bebebe;\n}.ultimateSub p.largeTitle {\n background-color: #601a91;\n font-size: 35px!important;\n padding: 15px 0!important;\n}a.whatsInTheBundle {\n border-bottom: unset!important;\n}.packageBox-wrapper {\n max-width: 30%!important;\n margin-right: 26px;\n}.extraSub .header {\n border: 3px solid #e873ae;\n border-radius: 4px;\n border-bottom:3px solid #e873ae!important;\n}.ultimateSub .header{\n border: 3px solid #601a91;\n border-radius: 4px;\n border-bottom: 3px solid #601a91!important;\n}.ultimateSub .packageBox-wrapper-intro {\n color: grey;\n}.extraSub p.largeTitle {\n background-color: #e873ae;\n}.schoolPackageBox.schoolCore .header {\n border-bottom: unset!important;\n}.schoolPremiumPackages .packages {\n clear: both;\n display: flex;\n align-items: flex-end;\n}.header {\n height: 336px!important;\n}.ultimateSub .subTitle {\n margin-top: 10px;\n}");var e=(n=document.querySelector(".packageBox-wrapper-intro")).cloneNode(!0);(t=n.cloneNode(!0)).innerText="Our Most Popular Subscription!",document.querySelector(".extraSub").insertAdjacentElement("afterbegin",e),document.querySelector(".ultimateSub").insertAdjacentElement("afterbegin",t),document.querySelectorAll(".header .contactAdmin.green").forEach((e=>{e.innerText="Request Access"}))}else if(document.querySelector(".extraSub.current")){var n,t;(0,a.se)(".packageBox-wrapper {\n padding: 0px!important;\n}.current .packageBox-wrapper-intro {\n color: grey!important;\n background-color:unset!important;\n}.extraSub.current {\n background: unset;\n border: unset!important;\n box-shadow: unset!important;\n}.order-5.order-md-0 {\n border-radius: 5px;\n}.current .order-5.order-md-0 {\n border: 3px solid #bebebe;\n}.header {\n padding-top: 0!important;\n}p.largeTitle {\n margin: unset!important;\n padding: 15px 0!important;\n color:white!important;\n line-height:unset!important;\n}.extraSub p.largeTitle {\n background: #bebebe;\n}.ultimateSub p.largeTitle {\n background-color: #601a91;\n font-size: 35px!important;\n padding: 15px 0!important;\n}a.whatsInTheBundle {\n border-bottom: unset!important;\n}.packageBox-wrapper {\n max-width: 30%!important;\n margin-right: 26px;\n}.ultimateSub .header{\n border: 3px solid #601a91;\n border-radius: 4px;\n border-bottom: 3px solid #601a91!important;\n}.ultimateSub .packageBox-wrapper-intro {\n color: grey;\n}.schoolPackageBox.schoolCore .header {\n border-bottom: unset!important;\n}.header {\n height: 336px!important;\n}.ultimateSub .subTitle {\n margin-top: 10px;\n}.packageBox-wrapper.current.extraSub{\n background:unset!important;\n}.current .header {\n border: 3px solid #bebebe;\n border-radius: 4px;\n border-bottom: 3px solid #bebebe!important;\n}.coreSub{\n display:none!important;\n}.schoolPremiumPackages .packages {\n clear: both;\n display: flex;\n align-items: center;\n justify-content: center;\n}"),(t=(n=document.querySelector(".packageBox-wrapper-intro")).cloneNode(!0)).innerText="Our Most Popular Subscription!",document.querySelector(".ultimateSub").insertAdjacentElement("afterbegin",t),document.querySelectorAll(".header .contactAdmin.green").forEach((e=>{e.innerText="Request Access"}))}}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="schoolAccountPremiumPage",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},7681:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e,n;const t=window.dataLayer[0],r=[{regex:/^\/premium$|^\/premium\/individual$/,options:a.xl&&t.user.loggedIn&&"paid"==t.user.type&&"Ultimate"!=(null===(e=t.user.subscription)||void 0===e||null===(e=e.bundle)||void 0===e?void 0:e.name)&&(null===(n=t.user.subscription)||void 0===n||null===(n=n.bundle)||void 0===n?void 0:n.name)&&/^244$|^247$|^246$|^245$/.test(t.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(t.user.language_id)}],i=(0,a.DX)(["funnel","upgrades","products"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedUpgrade",parentEl:"#choose-package",childEl:"label.green"}),l.push({type:"click",name:"clickedUltimateUpgrade",parentEl:"#choose-package",childEl:"label.green[for='bundleType3']"}),l.push({type:"click",name:"clickedExtraUpgrade",parentEl:"#choose-package",childEl:"label.green[for='bundleType2']"}),l.push({type:"click",name:"clickedWhatsInsideUltimate",parentEl:"#choose-package",childEl:".platinumPlus a.whatsInTheBundle"}),l.push({type:"click",name:"clickedWhatsInsideExtra",parentEl:"#choose-package",childEl:".platinum a.whatsInTheBundle"});const c=()=>{try{var e,n=(e,n,o,r)=>{var i;if("Core"==(null==t||null===(i=t.user)||void 0===i||null===(i=i.subscription)||void 0===i||null===(i=i.bundle)||void 0===i?void 0:i.name)){var l,c;(0,a.se)(".current p.largeTitle{background-color:#bebebe;margin-top:-17px;padding:16px;width:103%;margin-left:-5px;color:#fff}.packageBox-wrapper.col-12.col-md-4.classicSub.current{background-color:unset;border:unset;box-shadow:unset}.current .header{border:unset}.packageBox.classicSub.current{border:2px solid #bebebe!important}.current p.updatePaymentMethods{padding:11px;margin-top:50px;opacity:.7}.current a.whatsInTheBundle{opacity:.6}.packageBox.platinum.upgrade{box-shadow:unset;border:3px solid #e765a6;opacity:.9}.platinum p.largeTitle{background-color:#e765a6;margin-top:-17px;padding:16px;width:103%;margin-left:-5px;color:#fff}.platinumPlus .header{border-radius:0}.platinumPlus p.largeTitle{background-color:#601a91;margin-top:-17px;padding:16px;width:103%;margin-left:-5px;color:#fff;border-radius:0!important}.packageBox.platinumPlus.upgrade{border:4px solid #601a91}.packageBox-wrapper.col-12.col-md-4.platinumPlus.upgrade{margin-top:27px!important}.platinum .header{border-radius:0;border-bottom:0!important}.subscription .packageBox-wrapper a.whatsInTheBundle{border-bottom:0}p.upgradeFor{font-size:16px;margin-bottom:8px;font-weight:800;margin-top:28px}p.strikethroughPrice{font-size:15px;text-decoration:line-through;color:#909090;font-weight:700}.strikethroughPrice span{font-size:10px}p.money{font-size:30px;font-weight:700;margin-top:5px;color:#5d8200}.money span{font-size:14px}.packageBox.platinumPlus.upgrade{border:4px solid #601a91}.current .header{border-radius:unset}.packageBox-wrapper.col-12.col-md-4.platinumPlus.upgrade{margin-top:-13px!important}.packageBox{overflow:hidden}.packageBox-wrapper-intro{color:grey!important}.packageBox-wrapper.col-12.col-md-4.platinumSub.upgrade{margin-top:27px!important}.packageBox.platinumPlus.upgrade.open .header{border-bottom:unset!important}.header {border: unset!important;border-radius: 0px!important;}.platinum .largeTitle {margin-bottom: 30px;}.platinum label.green {background-color: #5d8200d4;}"),null===(l=document.querySelector(".platinumPlus.upgrade .largeTitle"))||void 0===l||l.insertAdjacentHTML("afterend",`

Upgrade to Ultimate for an extra:

${e}pcm

${n}pcm

`);var d,s=null===(c=document.querySelector(".packageBox-wrapper-intro"))||void 0===c?void 0:c.cloneNode(!0);s&&(s.innerText="Our Most Popular Bundle!",null===(d=document.querySelector(".packageBox-wrapper.platinumPlus"))||void 0===d||d.insertAdjacentElement("afterbegin",s))}else{var u,p;if((0,a.se)(".upgradeContainer {width: 100%;display: flex;justify-content: center;}.packageBox-wrapper.col-12.col-md-4.platinumPlus.upgrade {margin-top: -10px!important;}.subscription .packageBox-wrapper.current.extraSub, .subscription .packageBox-wrapper.current.platinumSub {border: none;background-color: transparent;box-shadow: none;}.packageBox .header {background-color: #fff;padding-top: 15px;border-top-left-radius: 4px;border-top-right-radius: 4px;font-size: 13px;border: 2px solid #bebebe;}.packageBox.platinum .header {border-bottom: 2px solid #bebebe;border-color: #bebebe;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px}.header{max-height:414px!important;padding:0px;margin:0px;overflow:hidden;display:flex;flex-direction:column;width:100%}.topElement {background-color: #bebebe;width: 100%;margin-top: -15px;margin-bottom: 25px;}#premium_form:not(.subscription) .packageBox-wrapper .packageBox .header p:last-child{padding-top:10px}.subscription .packageBox-wrapper-intro{color:#727272}.subscription .packageBox-wrapper.current .packageBox, .subscription .packageBox-wrapper.current .schoolPackageBox{border-color:#fff0;box-shadow:none;}.packageBox .largeTitle{color:#fff}.packageBox.platinumPlus.upgrade .topElement{background:#601a91;}.packageBox.platinumPlus.upgrade {margin-top: -2px;}.packageBox{border:none}.packageBox.platinumPlus .header {border-color: #601a91;border: 4px solid #601a91;border-bottom: 8px solid #601a91;}.subscription .packageBox-wrapper a.whatsInTheBundle{border:none}.packageBox .header{border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;}.subscription .packageBox-wrapper.extraSub a.whatsInTheBundle, .subscription .packageBox-wrapper.platinumSub a.whatsInTheBundle{color: #f067abab;}p.money {font-size: 30px;font-weight: 700;}p.upgradeFor {font-size: 16px;margin-bottom: 8px;font-weight: 800;}p.strikethroughPrice {font-size: 15px;text-decoration: line-through;color: #909090;font-weight: 700;}.strikethroughPrice span {font-size: 10px;}p.money {font-size: 30px;font-weight: 700;margin-top: 5px;color: #5d8200;}.money span {font-size: 14px;}.platinumPlus.upgrade p:nth-of-type(n+4){opacity:0.8;margin-top:10px}.packageBox p.updatePaymentMethods{padding: 0 20px;color: #888888;}.packageBox.platinumPlus.upgrade.open .header {border-bottom: none;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;border-right: none;border-left: none;}.packageBox.platinumPlus.upgrade.open {border-bottom: 8px solid #601a91;border-right: 4px solid #601a91;border-left: 4px solid #601a91;border-top-right-radius: 8px;border-top-left-radius: 8px;}"),"Extra"==(null===(u=t.user)||void 0===u||null===(u=u.subscription)||void 0===u||null===(u=u.bundle)||void 0===u?void 0:u.name)){var m,h,g,y=document.querySelector(".inactive");y&&y.remove(),null===(m=document.querySelector(".current"))||void 0===m||null===(m=m.parentNode)||void 0===m||m.insertAdjacentHTML("afterbegin",'
'),document.querySelectorAll(".packageBox-wrapper").forEach((function(e){var n,t,o;null===(n=e.querySelector(".header"))||void 0===n||n.insertAdjacentHTML("afterbegin",'
');var a=e.querySelector(".largeTitle");null===(t=e.querySelector(".topElement"))||void 0===t||t.insertAdjacentElement("afterbegin",a),null===(o=document)||void 0===o||null===(o=o.querySelector(".upgradeContainer"))||void 0===o||o.insertAdjacentElement("beforeend",e)})),null===(h=document.querySelector(".upgrade .packRec"))||void 0===h||h.remove();var w,f=null===(g=document.querySelector(".packageBox-wrapper-intro"))||void 0===g?void 0:g.cloneNode(!0);f&&(f.innerText="Our Most Popular Bundle!",null===(w=document.querySelector(".upgrade"))||void 0===w||w.insertAdjacentElement("afterbegin",f))}null===(p=document.querySelector(".platinumPlus .topElement"))||void 0===p||p.insertAdjacentHTML("afterend",`

Upgrade to Ultimate for an extra:

${o}pcm

${r}pcm

`)}};/^19$|^20$/.test(null===(e=t.user.subscription)||void 0===e?void 0:e.type_id)?n("£4.70","£3.20","£2.60","£1.10"):n("£6.29","£4.00","£4.49","£2.25");var o=document.querySelectorAll(".packageBox:not(.current) label.green");null==o||o.forEach((e=>{e&&(e.innerText="Continue")})),document.fn.events.emit("upgraderedesignFinished")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="freeWordingUpgradePage1",s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?(0,a.Gc)((function(){o.A.init(s)})):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},3371:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0];var e=document.querySelector("a[href*='/resource'] > .primaryCTA");const t=[{regex:/^\/resources\/inclusion-teaching-resources$|^\/resources\/planit-primary-teaching-resources$|^\/resources\/twinkl-boost$/,options:!!e&&n.user.loggedIn&&"free"==n.user.type&&a.aC.country.uk}],r=(0,a.DX)(["funnel","products"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),r.push({name:"visitedGuideResourcePage",type:"pathname",regex:/^\/resource\/t-ug-042-twinkl-boost-user-guide$|\/resource\/t-ug-043-twinkl-inclusion-user-guide$|\/resource\/tp-t-000-planit-user-guide$/,options:!0}),r.push({name:"visitedResourcePage",type:"pathname",regex:/^\/resource\//,options:!0});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedPrimaryCTA",parentEl:".bannerContent",childEl:"a .primaryCTA"}),i.push({path:/^\/resource\/t-ug-042-twinkl-boost-user-guide$|\/resource\/t-ug-043-twinkl-inclusion-user-guide$|\/resource\/tp-t-000-planit-user-guide$/,type:"click",name:"DownloadedGuide",parentEl:"body",childEl:"#actual_downloads a[data-download='yes']"});const l=()=>{try{e.parentNode.target="_self"}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-control-"+d)}},c=()=>{try{e.parentNode.outerHTML='
Get Access Now
\n
',(0,a.se)("a .primaryCTA {padding: 0px 22px 0 30px;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="landingPagePrimaryCTA-Free-Reset",s={n:d,t:()=>u(t),ttl:60,b:[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(t)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(r)||p(i))},codeToRun:()=>{u(t)?(0,a.Gc)((function(){o.A.init(s)})):(u(r)||p(i))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},3641:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0];var e=document.querySelector("a[href*='/resource'] > .primaryCTA");const t=[{regex:/^\/resources\/inclusion-teaching-resources$|^\/resources\/planit-primary-teaching-resources$|^\/resources\/twinkl-boost$/,options:0==n.user.twinklid&&!n.user.loggedIn&&/^$|^none$/.test(n.user.type)&&!!e&&a.aC.country.uk}],r=(0,a.DX)(["funnel","products"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),r.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),r.push({name:"visitedPaymentSignUp",type:"pathname",regex:/^\/payment-sign-up$/,options:!0}),r.push({name:"visitedSignUp",type:"pathname",regex:/^\/sign-up$/,options:!0}),r.push({name:"visitedGuideResourcePage",type:"pathname",regex:/^\/resource\/t-ug-042-twinkl-boost-user-guide$|\/resource\/t-ug-043-twinkl-inclusion-user-guide$|\/resource\/tp-t-000-planit-user-guide$/,options:!0}),r.push({name:"visitedResourcePage",type:"pathname",regex:/^\/resource\//,options:!0});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedPrimaryCTA",parentEl:".bannerContent",childEl:"a .primaryCTA"}),i.push({path:/^\/resource\/t-ug-042-twinkl-boost-user-guide$|\/resource\/t-ug-043-twinkl-inclusion-user-guide$|\/resource\/tp-t-000-planit-user-guide$/,type:"click",name:"DownloadedGuide",parentEl:"body",childEl:"#actual_downloads a[data-download='yes']"});const l=()=>{try{e.parentNode.target="_self"}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-control-"+d)}},c=()=>{try{e.parentNode.outerHTML='
Get Access Now
\n
',(0,a.se)("a .primaryCTA {padding: 0px 22px 0 30px;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="landingPagePrimaryCTA-Prospect-Reset",s={n:d,t:()=>u(t),ttl:60,b:[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(t)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(r)||p(i))},codeToRun:()=>{u(t)?(0,a.Gc)((function(){o.A.init(s)})):(u(r)||p(i))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},1454:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n,t;const s=window.dataLayer[0];var a,r,i,l,c;const u=[{regex:/^\/sign-up$/,options:/^\/sign-up$/.test(window.location.pathname)&&!(null!==(e=s.user)&&void 0!==e&&e.loggedIn)&&!(null!==(n=s.user)&&void 0!==n&&n.twinklid)&&o.aC.lang.en&&(/^226$|^154$|^12$/.test(null===(t=s.user)||void 0===t?void 0:t.country_id)||o.aC.country.uk)&&(a=document.querySelector(".formField.js-validate:not(.occDiv)"),r=document.querySelector(".formField.js-validate:nth-of-type(2)"),i=document.querySelector(".bottomFormHolder > button.green"),l=document.getElementById("email"),c=document.getElementById("password"),!!(a&&r&&i&&l&&c))}],p=(0,o.DX)(["funnel"]);p.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),p.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),p.push({name:"visitedSignUp",type:"pathname",regex:/^\/sign-up$/,options:!0}),p.push({name:"visitedSignIn",type:"pathname",regex:/^\/sign-in$/,options:!0});var d=()=>!!Array.from(document.querySelector(".formField.js-validate:not(.hidden)").classList).includes("has-error");const m=(0,o.kQ)(["download"]);m.push({type:"click",name:"clickedSignInInstead",parentEl:"#new_sign_up_form",childEl:"a.no-track"}),m.push({type:"click",name:"clickedBack",parentEl:"#new_sign_up_form",childEl:"#back"}),m.push({type:"click",name:"clickedSubmit",parentEl:"#new_sign_up_form",childEl:"button.button.green:not(#next)"}),m.push({type:"click",name:"clickedFirstButton",parentEl:"#new_sign_up_form",childEl:"button#next"}),m.push({type:"click",name:"clickedSecondButton",parentEl:"#new_sign_up_form",childEl:"button.withArrow"}),m.push({type:"on",on:"firstClicked",name:"clickedFirst",cb:function(e){let n={...this};var t=d()?"withError":"noError";return n.name+=t,n}}),m.push({type:"on",on:"secondClicked",name:"clickedSecond",cb:function(e){let n={...this};var t=d()?"withError":"noError";return n.name+=t,n}});const h=()=>{try{var e;null===(e=document.querySelector(".signUpBox"))||void 0===e||e.addEventListener("click",(e=>{e.target.closest(".button.green:not(.withArrow)")&&setTimeout((()=>{document.fn.events.emit("firstClicked")}),300),e.target.closest(".button.green.withArrow")&&setTimeout((()=>{document.fn.events.emit("secondClicked")}),300)}))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+y)}},g=()=>{try{var e;null===(e=document.querySelector(".signUpBox"))||void 0===e||e.addEventListener("click",(e=>{e.target.closest(".button.green:not(.withArrow)")&&setTimeout((()=>{document.fn.events.emit("firstClicked")}),300),e.target.closest(".button.green.withArrow")&&setTimeout((()=>{document.fn.events.emit("secondClicked")}),300)}));var n=!1,t=new RegExp("^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$");l.addEventListener("input",(function(){var e=l.value;n=t.test(e)}));var d=document.createElement("div");d.className="email-input-div",l.insertAdjacentElement("beforebegin",d),d.appendChild(l),r.classList.add("hidden"),l.placeholder="Enter your email",i.classList.add("hidden"),i.classList.add("withArrow"),i.innerHTML='',r.insertAdjacentElement("beforeend",i);var s=document.createElement("button");function p(e){13===e.keyCode&&i.click()}s.id="next",s.className="button green",s.innerHTML='',a.insertAdjacentElement("beforeend",s),c.placeholder="Create a password",c.addEventListener("keydown",p);var u=document.createElement("div");u.id="back",u.className="hidden",u.className="backToEmail hidden",u.innerHTML='',r.insertAdjacentElement("afterend",u),s.addEventListener("click",(e=>{e.preventDefault(),n&&(a.classList.add("hidden"),r.classList.remove("hidden"),c.focus(),u.classList.remove("hidden"),i.classList.remove("hidden"),document.querySelector(".form-error")&&document.querySelector(".form-error").remove())})),document.querySelector("#back .backToEmailLink").addEventListener("click",(function(){r.classList.add("hidden"),a.classList.remove("hidden"),a.focus(),u.classList.add("hidden")})),(0,o.se)(".hidden, .hide {display: none!important;} #new_sign_up .formField:not(.occDiv):not(.otherOccupation), .signUpInHolder .formField:not(.occDiv):not(.otherOccupation) {display: flex; flex-wrap: wrap; column-gap: 10px;} .formField .password-input-div, .formField .email-input-div {flex: 6; display: flex;} .formField button {flex: 1} .has-error .form-error {width: 100%;} #back {color: #0066c0; width: 100%; text-align: left; font-size: 12px; margin-top: 10px;} .password-input-div input, .email-input-div input {height: 100%;} #next {background-color: #5d8200;} #next:hover {background-color: #4c6509;} #new_sign_up_form .bottomFormHolder {padding: 1px 0 0;} .is-desktop-device #new_sign_up, .is-desktop-device .signUpInHolder, .is-desktop-device #front_panel_search .new_sign_up_form {width: 500px!important; max-width: 500px!important;} .prospect-height {height: 420px!important;} .backToEmailLink {max-width: max-content; white-space: nowrap; display: inline-block; cursor: pointer;} .backToEmailLink:hover {text-decoration: underline;} .new_sign_up .signUpBox {margin-top: 0;} #new_sign_up .formField, .signUpInHolder .formField {margin-bottom: 18px; margin-bottom: 0;} .signInHolder {font-size: 12px;} #new_sign_up label {position: absolute; left: 26px; top: 64px; background: #fff; max-width: max-content; padding-right: 5px; padding-left: 5px; z-index: 1;} #new_sign_up input, .signUpInHolder input {padding: 4px 10px;} .email-input-div {position: relative; cursor: pointer;} .signInHolder a:hover {color: #0066c0;} .new_sign_up .smallText {padding-top: 0;}"),(0,o.se)("#new_sign_up .formField:not(.occDiv):not(.otherOccupation), .signUpInHolder .formField:not(.occDiv):not(.otherOccupation) {\n flex-direction: column;\n }.email-input-div, .password-input-div {\n min-height: 52px;\n margin-bottom: 20px;\n }input#password,input#email {\n min-height: 52px;\n }"),document.querySelector("button#next").innerHTML="Next",document.querySelector(".formField.js-validate button.withArrow").innerHTML="Continue",window.setTimeout((function(){var e;null===(e=document.querySelector("#email"))||void 0===e||e.focus()}),0),(0,o.Hh)((()=>{$(document).on("ajaxComplete",(function(e,n,t){var a;/\/user\/create$/.test(t.url)&&(null===(a=document.querySelector(".backToEmailLink"))||void 0===a||a.click(),document.querySelector("#new_sign_up label").classList.add("error"),(0,o.se)(".email-input-div.has-error {\n display: flex;\n flex-direction: column;\n }.has-error .form-error {\n margin-top: 12px;\n }"))}))}))}catch(m){(0,o.BI)("ABError",m,window.location.pathname+"-variant-"+y)}},y=o.xl?`prospectTwoStepSignUp-v3-${o.aC.country.uk?"UK":s.user.country_id}`:`prospectTwoStepSignUpMobile-v3-${o.aC.country.uk?"UK":s.user.country_id}`,w={n:y,tg:u,ttl:60,b:[{name:"original",weight:1,run:h},{name:"variant",weight:1,run:g}],g:{u:p,e:m},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(w),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7184:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/blog\/|^\/parenting-wiki\/|^\/teaching-wiki\//,options:!e.user.twinklid&&a.xl&&document.querySelectorAll(".blogSignUpBanner,.wikiResourceBanner").length>0&&(a.aC.country.uk||/^226$|^154$|^12$/.test(e.user.country_id))&&a.aC.lang.en}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"signedUp",type:"search",regex:/signed_up/,options:!0}),t.push({name:"landedOnSignUp",regex:/sign-up/,options:!0}),t.push({name:"landedOnTrial",regex:/^\/free-trial-landing/,options:!0});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedCTA",parentEl:"body",childEl:".bannerCTA a.button.green"});const i=()=>{},l=()=>{try{var e="";document.querySelectorAll(".blogSignUpBanner,.wikiResourceBanner").forEach((n=>{e=n.cloneNode(!0)})),document.querySelectorAll("#blog-content,.extraData").forEach((n=>{n.insertAdjacentElement("afterend",e)}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c=`wikiBlogCtaDuplicateBanner${a.aC.country.uk?"UK":e.user.country_id}`,d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},3601:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const t=window.dataLayer[0];var e=!!document.querySelector(".wikiContent, .extraData"),n=document.querySelectorAll("h2.phrase, .wikiContent h2, .wikiContent h3, .wikiContent h4, .extraData h2, .extraData h3, .extraData h4");const r=[{regex:/^\/parenting-wiki\//,options:a.xl&&e&&!!n&&n.length>0&&/^244$|^247$|^246$|^245$/.test(t.user.country_id)}],i=(0,a.DX)(["funnel"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),i.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),i.push({name:"visitedResourcePage",type:"pathname",regex:/^\/resource\//,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedContents",parentEl:".wikiCol",childEl:".wikiContents a"}),l.push({type:"click",name:"clickedSimilarSearches",parentEl:".similarSearches",childEl:"a"}),l.push({type:"click",name:"clickedMl",parentEl:"#youll_love_resource_box",childEl:".what-are-members-downloading-now a"}),l.push({type:"click",name:"clickedLinkInArticle",parentEl:".extraData",childEl:"a"}),l.push({type:"click",name:"clickedAnyLinkOnPage",parentEl:".wikiCol",childEl:"a"});const c=()=>{try{var e={};for(let a=0;a0){const e=document.createElement("ul");u.children.forEach((n=>{const t=document.createElement("li"),o=document.createElement("a");o.setAttribute("href",`#${n.id}`),o.textContent=n.text,t.appendChild(o),e.appendChild(t)})),p.appendChild(e)}s.appendChild(p)}c.appendChild(s),document.querySelector("h2.phrase").insertAdjacentElement("afterend",c),c.insertAdjacentHTML("afterbegin",'
Contents
'),(0,a.se)(".wikiContents {font-size: 14px; padding-bottom: 12px; margin-bottom: 20px; margin-top: 20px; border-bottom: 1px solid #ddd;} .wikiContents ul li a {display: block; overflow: hidden; padding-top: 12px;} .wikiContents ul {list-style: none; padding: 0 0 0 10px;} .wikiContents ul {margin: 0 0;} .contTitle {font-family: robotobold,Arial,Helvetica,sans-serif; font-size: 16px; padding-bottom: 10px; padding-left: 10px; width: 100%; border-bottom: 1px solid #ddd;} .scrollTo {scroll-margin-top: 100px;} html {scroll-behavior: smooth;} .row.wikiCol img {height: auto;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="wikiContentsInlineParentsAll",s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?(0,a.Gc)((function(){o.A.init(s)})):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},2439:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const t=window.dataLayer[0];var e=!!document.querySelector(".wikiContent, .extraData"),n=document.querySelectorAll("h2.phrase, .wikiContent h2, .wikiContent h3, .wikiContent h4, .extraData h2, .extraData h3, .extraData h4");const r=[{regex:/^\/teaching-wiki\//,options:a.xl&&e&&!!n&&n.length>0&&/^244$|^247$|^246$|^245$/.test(t.user.country_id)}],i=(0,a.DX)(["funnel"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),i.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),i.push({name:"visitedResourcePage",type:"pathname",regex:/^\/resource\//,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedContents",parentEl:".wikiCol",childEl:".wikiContents a"}),l.push({type:"click",name:"clickedSimilarSearches",parentEl:".similarSearches",childEl:"a"}),l.push({type:"click",name:"clickedMl",parentEl:"#youll_love_resource_box",childEl:".what-are-members-downloading-now a"}),l.push({type:"click",name:"clickedLinkInArticle",parentEl:".extraData",childEl:"a"}),l.push({type:"click",name:"clickedAnyLinkOnPage",parentEl:".wikiCol",childEl:"a"});const c=()=>{try{var e={};for(let a=0;a0){const e=document.createElement("ul");u.children.forEach((n=>{const t=document.createElement("li"),o=document.createElement("a");o.setAttribute("href",`#${n.id}`),o.textContent=n.text,t.appendChild(o),e.appendChild(t)})),p.appendChild(e)}s.appendChild(p)}c.appendChild(s),document.querySelector("h2.phrase").insertAdjacentElement("afterend",c),c.insertAdjacentHTML("afterbegin",'
Contents
'),(0,a.se)(".wikiContents {font-size: 14px; padding-bottom: 12px; margin-bottom: 20px; margin-top: 20px; border-bottom: 1px solid #ddd;} .wikiContents ul li a {display: block; overflow: hidden; padding-top: 12px;} .wikiContents ul {list-style: none; padding: 0 0 0 10px;} .wikiContents ul {margin: 0 0;} .contTitle {font-family: robotobold,Arial,Helvetica,sans-serif; font-size: 16px; padding-bottom: 10px; padding-left: 10px; width: 100%; border-bottom: 1px solid #ddd;} .scrollTo {scroll-margin-top: 100px;} html {scroll-behavior: smooth;} .row.wikiCol img {height: auto;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="wikiContentsInlineTeachingAll",s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?(0,a.Gc)((function(){o.A.init(s)})):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},634:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:/^226$/.test(e.user.country_id)&&document.querySelector("#all-stars-banner .winning-text")}],t=(0,o.DX)(["funnel","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"landed-twinkl-stars",regex:/^\/twinkl-stars\/leader-board$/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),a.push({type:"click",name:"clickedBannerCTA",parentEl:"#all-stars-banner",childEl:"a.getStartedBtn"});const r=()=>{},i=()=>{try{var e=document.querySelector("#all-stars-banner"),n=null==e?void 0:e.querySelector("div.text-lg-right a.btn.getStartedBtn");e&&n&&(n.innerText="Continue",n.insertAdjacentHTML("beforeend",''),n.id="allStarsCta",(0,o.se)("\n #all-stars-banner {\n #allStarsCta {\n color: #ffffff;\n background: #5d8200;\n border: solid 2px white;\n padding: 7px 30px;\n box-shadow: black 0px 2px 11px -6px;\n font-size: large;\n }\n #allStarsCta:hover {\n background: #4c6509;\n }\n #allStarsCta:hover #continueChevron {\n transform: matrix(1, 0, 0, 1, 2, 0);\n }\n #continueChevron {\n transition: all 154ms cubic-bezier(0, 0.51, 0.46, 0.99);\n padding-left: 0.5em;\n }\n }\n "))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="allStarsBannerUSACta"+(o.Fr?"-mobile":""),c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},726:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\//,options:!o.aC.member.schoolAccount&&n.user.loggedIn&&document.querySelector(".credit-button")&&o.aC.country.uk&&o.aC.lang.en&&o.xl}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"landedOnCreate",regex:/^\/create/,options:!0}),a.push({name:"landedOnCredit",regex:/^\/my-credit/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({path:/^\/create/,type:"click",name:"startedCreateSession",parentEl:".bg-create-orange",childEl:"a[href='/create/app']"}),r.push({type:"click",name:"clickedCreate",parentEl:"#header",childEl:"a.createButtonNextToCredit",mod:3}),r.push({type:"click",name:"clickedCreate",parentEl:"#header",childEl:"a.t-create-link",mod:3}),r.push({type:"click",name:"clickedCredit",parentEl:"#header",childEl:".credit-button a"}),r.push({type:"click",name:"clickedMM",parentEl:"#header",childEl:".menuTab a"});var e=()=>{var e;(0,o.se)("a.t-button.t-outline-pink.t-full-width.t-shadow.createButtonNextToCredit {\n background-color: white;\n color: #ff8501;\n border-color: #ff8501;\n }a.t-button.t-outline-pink.t-full-width.t-shadow.createButtonNextToCredit {\n display: flex;\n gap: 12px;\n align-items: baseline;\n }.createButtonNextToCredit svg {\n fill: #ff8501;\n transform: scale(2.4);\n height: 12px;\n }a.t-button.t-outline-pink.t-full-width.t-shadow.createButtonNextToCredit:hover {\n color: white;\n background-color: #ff8501;\n }"),document.querySelector(".credit-button").insertAdjacentHTML("beforebegin",'Create'),null===(e=document.querySelector(".t-create-link-item"))||void 0===e||e.remove()};const i=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+c)}},l=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="tryCreateNow",d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},1602:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:a.xl&&!a.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&(a.aC.country.uk||/^226$|^154$|^12$/.test(e.user.country_id))&&document.querySelector('.ultimateCTAContainer a[href^="/free-trial"]')&&a.aC.lang.en&&!!document.querySelector(".ultimateCTAContainer .t-title")}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedHeaderCTA",parentEl:"body",childEl:".ultimateCTAContainer > a"}),r.push({type:"click",name:"clickedCTAInsideHeader",parentEl:"body",childEl:"a#tryUltimateB.button"});const i=()=>{},l=()=>{try{document.querySelector(".ultimateCTAContainer .t-title").innerHTML&&document.querySelector(".ultimateCTAContainer .t-title").innerText&&(document.querySelector(".ultimateCTAContainer .t-title").innerHTML=`${document.querySelector(".ultimateCTAContainer .t-title").innerText.match(/\$|£/)}0.00 Twinkl Trial`)}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c=`headerFreeTrialCtaChange${a.aC.country.uk?"UK":e.user.country_id}`,d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},8228:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:a.xl&&!a.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&(a.aC.country.uk||/^226$|^154$|^12$/.test(e.user.country_id))&&document.querySelector('.ultimateCTAContainer a[href^="/free-trial"]')&&a.aC.lang.en}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedHeaderCTA",parentEl:"body",childEl:".ultimateCTAContainer > a"}),r.push({type:"click",name:"clickedCTAInsideHeader",parentEl:"body",childEl:"a#tryUltimateB.button"});const i=()=>{try{var e;null!==(e=document.querySelector("#tryUltimateB.button"))&&void 0!==e&&e.innerText&&(document.querySelector("#tryUltimateB.button").innerText=document.querySelector("#tryUltimateB.button").innerText.replace("Start Your","Continue to"))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{var e;null!==(e=document.querySelector("#tryUltimateB.button"))&&void 0!==e&&e.innerText&&(document.querySelector("#tryUltimateB.button").innerText="Continue")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c=`headerHoverCTAWordingChangeToContinue${a.aC.country.uk?"UK":e.user.country_id}`,d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?document.querySelector(".ultimateCTAContainer.t-dropdown-container").addEventListener("mouseover",(e=>{o.A.init(d)}),{once:!0}):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},5846:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\//,options:!o.aC.member.schoolAccount&&n.user.loggedIn&&"free"==n.user.type&&110!=n.user.career_id&&document.querySelector("#premiumMiniMenu")&&document.querySelector("#header .free-trial")&&o.xl&&o.aC.lang.en&&o.aC.country.uk}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"landedOnFreeTrial",regex:/^\/free-trial-landing/,options:!0}),a.push({name:"landedOnSchoolPage",regex:/^\/premium\/school/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"sentFormSubmissionOnSchoolPage",parentEl:"#schoolBoxForm",childEl:"input[type='submit']"}),r.push({type:"click",name:"clickedSchoolEnquiry",parentEl:"#header",childEl:"#premiumMiniMenu a"}),r.push({type:"click",name:"clickedTryTrial",parentEl:"#header",childEl:".ultimateCTAContainer a"}),r.push({type:"click",name:"clickedInnerTryUltimateA",parentEl:"#header",childEl:".ultimateCTAContainer .ultimateBubble a"}),r.push({type:"click",name:"clickedAccountLink",parentEl:"#header",childEl:".user-menu-list-new-sub a"}),r.push({type:"click",name:"clickedMM",parentEl:"#header",childEl:".menuTab a"}),r.push({type:"click",name:"clickedHome",parentEl:"#sticky-header",childEl:"a[href='/']"}),r.push({type:"click",name:"clickedSearch",parentEl:"#sticky-header",childEl:"#search_box"});var e=()=>{var e;(0,o.se)("#premiumMiniMenu ::after{\n display:none!important\t\n }");var n=document.querySelector("#premiumMiniMenu a");n.querySelector(".t-title b").innerText="School Enquiries",n.href="/premium/school",null===(e=document.querySelector(".premium_menu"))||void 0===e||e.remove(),"/"!=location.pathname&&(document.querySelector(".ultimateCTAContainer").insertAdjacentHTML("afterbegin",'
1
'),(0,o.se)(".membershipNotification {\n position: absolute;\n top: -5px;\n right: -5px;\n background: #ff0000;\n width: 15px;\n height: 15px;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n align-content: center;\n font-size: 10px;\n z-index: 1;\n}")),document.querySelector(".ultimateBubble a.other-pay-options").innerText="Paid plans",document.querySelector(".ultimateCTAContainer .free-trial .t-title b").innerText="- Unlimited Downloads"};const i=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+c)}},l=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="headerFreeTrialButtonToFinalPaymentPage",d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4012:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:!o.aC.member.schoolAccount&&!e.user.loggedIn&&0==e.user.twinklid&&o.aC.lang.en&&o.aC.country.uk&&o.xl&&document.querySelector("#login_options a")}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedSignUpButton",parentEl:"#header",childEl:"#login_options a"}),a.push({type:"click",name:"clickedSignInButton",parentEl:"#header",childEl:"a.signIn"});const r=()=>{try{(0,o.se)("#login_options{\n \tmargin-right: 30px!important;\n }")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="joinButtonMarginProspectReset",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2562:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const n=window.dataLayer[0],t=[{regex:/^\//,options:!o.aC.member.schoolAccount&&n.user.loggedIn&&"free"==n.user.type&&o.Fr&&document.querySelector("#m-library")&&document.querySelector("#m-memberships")&&o.aC.lang.en&&document.querySelector(".mobile-bottom-menu-tab")&&!/^99P/.test(null===(e=dataLayer[0].user)||void 0===e||null===(e=e.lastSubscription)||void 0===e?void 0:e.offer_code)}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedFreeTrial",parentEl:"#m-memberships",childEl:"a"}),r.push({type:"click",name:"clickedBottomBanner",parentEl:".mobile-bottom-menu-tab",childEl:"a"}),r.push({type:"click",name:"clickedLibraryIcon",parentEl:"body",childEl:"#m-library"}),r.push({type:"click",name:"clickedHomeIcon",parentEl:"body",childEl:"#m-home"});const i=()=>{try{document.querySelector("#m-memberships label").innerText="FREE Trial",null===(e=document.querySelector("#m-memberships i"))||void 0===e||e.insertAdjacentHTML("afterbegin",'
1
'),(0,o.se)(".membershipNotification {\n position: absolute;\n top: -6px;\n right: -6px;\n background: #ff0000;\n width: 15px;\n height: 15px;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n align-content: center;\n font-size: 10px;\n }i.memberships-icon {\n position: relative;\n }")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}var e},l="notificationFreeTrialMobileSwapWithLibraryHome",c={n:l,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7498:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&o.aC.lang.en&&o.aC.country.uk&&o.xl&&document.querySelector("div.ultimateCTAContainer.t-dropdown-container a[href^='/free-trial']")}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedOuterButton",parentEl:"#header",childEl:"a.free-trial.t-purple.t-dropdown"}),a.push({type:"click",name:"clickedInnerButton",parentEl:"#header",childEl:"a#tryUltimateB"}),a.push({type:"click",name:"clickedSeeMoreOption",parentEl:"#header",childEl:"a.other-pay-options"});const r=()=>{try{var e;null===(e=document.querySelector(".ultimatebenefits"))||void 0===e||e.insertAdjacentHTML("beforeend",'
  • We\'ll remind you seven days before your trial ends.
  • ')}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="reminderTryUltimateHeaderNoGreen",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l,(e=>document.querySelector("a.free-trial.t-purple.t-dropdown").addEventListener("mouseover",e,{once:!0}))),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5404:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e,n,t,r;const s=window.dataLayer[0];var i,l=!1,c=!1,d=!1;s.user.loggedIn&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&document.querySelector("#header .ultimateCTAContainer")&&"paid"==(null===(e=s.user)||void 0===e?void 0:e.type)&&/^Core$|^Extra$/.test(null===(n=s.user.subscription)||void 0===n||null===(n=n.bundle)||void 0===n?void 0:n.name)&&0==(null===(t=s.user)||void 0===t?void 0:t.schoolAccount)&&localStorage.hasVC&&/^19$|^20$/.test(null===(r=s.user)||void 0===r||null===(r=r.subscription)||void 0===r?void 0:r.type_id)&&(l=document.querySelector('.ultimateCTAContainer a[href="/premium?type=ultimate"] .t-title'),c=document.querySelector(".ultimateBubble"),d=null===(i=s.user)||void 0===i||null===(i=i.subscription)||void 0===i?void 0:i.end_date);const u=[{regex:/^\//,options:!!c&&!!d&&!!l}],p=(0,a.DX)(["funnel","upgrades"]),m=(0,a.kQ)(["download"]);m.push({type:"click",name:"clickedButtonHeader",parentEl:".wrapperSearch ",childEl:".ultimateCTAContainer a"}),m.push({type:"click",name:"clickedButtonHeader",parentEl:".wrapperSearch ",childEl:".ultimateCTAContainer a"}),m.push({type:"click",name:"clickedUpGradeDrownHeader",parentEl:".wrapperSearch ",childEl:".ultimateCTAContainer .ultimateBubble a.green "});const h=()=>{try{if(l.innerText="Upgrade for £0.00",d=new Date(d).toLocaleDateString(),c.insertAdjacentHTML("beforeend",`
    Don't pay anything until ${d}
    `),(0,a.se)(".smallContext{display: flex;\n padding: 7px;\n color: grey;\n font-size: 11px;\n justify-content: center;flex-direction: column;align-items: center;}.bottomBubble a {margin-bottom: 2px}.packageBox-wrapper.platinumPlus .strikethroughPrice{display:none}.money{ padding-bottom: 10px!important;}"),/premium/.test(location.pathname)){var e,n=document.querySelector(".upgradeFor.ulti"),t=document.querySelector(".packageBox.platinumPlus.upgrade .money "),o=document.querySelector(".packageBox-wrapper.platinumPlus .whatsInTheBundle "),r=null===(e=document.querySelector(".packageBox-wrapper.platinumPlus .strikethroughPrice"))||void 0===e?void 0:e.innerText;r&&d&&o&&n&&t&&(n.innerText="Upgrade today for ",t.innerText="£0.00",o.insertAdjacentHTML("beforebegin",`

    Don't pay anything until ${d}

    Then pay an extra ${r}

    `))}}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+g)}},g="upgradeHeaderandpremium",y={n:g,t:()=>w(u),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:h}],g:{u:p,e:m},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function w(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function f(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return w(u)||!!e&&e[null===(n=window.btoa(g))||void 0===n?void 0:n.replace(/=/g,"")]&&(w(p)||f(m))},codeToRun:()=>{w(u)?(0,a.Gc)((function(){o.A.init(y)})):(w(p)||f(m))&&(0,a.Hh)((function(){o.A.init(y)}))}}}catch(v){const x="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",v,window.location.pathname+"-"+x)}}},2878:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e,n;const t=window.dataLayer[0];/^\/ari-ai/.test(location.pathname)&&a.xl&&a.aC.lang.en&&"paid"!=t.user.type&&document.querySelector(".upgradeAI")&&(a.aC.country.uk||/^226$|^154$|^12$/.test(t.user.country_id))&&null!==(e=document.querySelector(".ultimateCTAContainer .t-title"))&&void 0!==e&&e.innerText&&document.querySelector(".suggestions").addEventListener("click",(e=>{e.target.closest(".pr1-1")&&document.fn.events.emit("ariNoAccessPromptClick")}));const r=[{regex:/^\/ari-ai/,options:a.aC.lang.en&&a.xl&&"paid"!=t.user.type&&document.querySelector(".upgradeAI")&&document.querySelectorAll(".pr1-1").length>10&&(a.aC.country.uk||/^226$|^154$|^12$/.test(t.user.country_id))&&!(null===(n=document.querySelector(".ultimateCTAContainer .t-title"))||void 0===n||!n.innerText)}],i=(0,a.DX)(["funnel","upgrades","products"]);i.push({name:"revisitedAri",regex:/^\/ari-ai/,options:!0,mod:3}),i.push({type:"search",name:"signedUp",regex:/^\/signed_up/,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedPrompt",parentEl:".description",childEl:".pr1-1 a",mod:3}),l.push({type:"click",name:"clickedCTA",parentEl:"body",childEl:".upgradeAI .ultimateCTA"});const c=()=>{try{document.querySelector(".upgradeAI .ultimateCTA").href="/free-trial-landing",document.querySelector(".upgradeAI .ultimateCTA").innerText="Continue",document.querySelector(".upgradeAI p strong").innerText=`Try 30 days of Twinkl Ultimate for ${document.querySelector(".ultimateCTAContainer .t-title").innerText.match(/\$|£/)}0.00`}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="ariNoAccessToTrial",s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?document.fn.events.on("ariNoAccessPromptClick",(()=>o.A.init(s))):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},9594:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=()=>{var e;return null===(e=document.querySelector("#user-menu-burger"))||void 0===e||e.addEventListener("click",(e=>{document.fn.events.emit("clickedBurger")})),!0},t=[{regex:/^\//,options:/^\//.test(location.pathname)&&!/^\/$|^\/trial-free$|^\/a?-?payment|\/premium/.test(location.pathname)&&o.xl&&o.aC.country.uk&&o.aC.lang.en&&!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&!!document.querySelector("#header .ultimateCTAContainer a.free-trial[href^='/free-trial']")&&!!document.querySelector(".user-menu-burger")&&!!document.querySelector(".user-dashy .membership .upgrade-button")&&n()}],a=(0,o.DX)(["funnel"]);a.push({name:"free-trial-landing",type:"pathname",regex:/free-trial-landing/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedMainCTA",parentEl:".user-dashy",childEl:".membership a.upgrade-button"}),r.push({type:"click",name:"clickedMembershipStar",parentEl:".user-dashy",childEl:".user-dashy-item[data-item='membership'] a"}),r.push({type:"click",name:"clickedAnyMenu",parentEl:".user-dashy",childEl:"a"});const i=()=>{try{var e,n=document.querySelector(".user-dashy .membership");/Upgrade/.test(null===(e=document.querySelector(".membership .button"))||void 0===e?void 0:e.innerText)&&n&&(n.innerHTML='£0.00 Twinkl Trial'),(0,o.se)("\n .membership {\n padding-left: 20px!important;\n padding-right: 20px!important;\n }\n\n .membership .upgrade-button { \n background-color: #601a91;\n font-size: 16px!important;\n }\n\n .membership .upgrade-button span {\n font-family: robotoregular;\n }\n\n .membership .upgrade-button:hover {\n background-color: #410f64;\n }\n ")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="burgerFreeTrialMembershipButton",c={n:l,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c,(e=>document.fn.events.on("clickedBurger",e))),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},8140:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=[{regex:/^\/mailing-preferences$/,options:window.dataLayer[0].user.loggedIn}],n=(0,o.DX)(["funnel","cancel"]);n.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const t=(0,o.kQ)(["download"]);t.push({type:"click",name:"clickedUnsubscribeLink",parentEl:"#other-preferences",childEl:"a.unsubscribe_all"}),t.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const a=()=>{},r=()=>{try{var e=document.querySelector("#other-preferences");null==e||e.classList.remove("hide");var n=document.querySelector(".unsubscribe_all");null==n||n.setAttribute("style","color: #0060c0;");var t=document.querySelector(".other-info");t&&(t.className="hide"),(0,o.se)("#other-preferences>hr{display: none;}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="unsubscribeClarity"+(o.Fr?"Mobile":""),l={n:i,tg:e,ttl:60,b:[{name:"original",weight:1,run:a},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9460:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/my-credit$/,options:!a.aC.member.schoolAccount&&a.xl&&e.user.loggedIn&&!!document.querySelector("h2 span.float-right.text-pink-dark")&&!!document.querySelector(".text-align-center.my-3 a.button")&&a.aC.lang.en&&a.aC.country.uk&&!!document.querySelector(".px-2")}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedButton",parentEl:".col-12.col-lg-8.col-xl-9",childEl:"a.button"}),r.push({type:"click",name:"clickedLegal",parentEl:"body",childEl:"a[href='/legal']"});const i=()=>{try{var e,n,t,o;(0,a.se)(".availableBalanceContainer {\n width: 80%;\n border: 2px dashed #d23888;\n border-radius: 5px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 35px 50px;\n}h1.availableBalanceHeader {\n font-size: 22px!important;\n color: #6e6e6e;\n}.availableBalanceInnerContainer span.float-right.text-pink-dark {\n font-size: 50px;\n font-weight: 700;\n}.availableBalanceInnerContainer {\n display: flex;\n justify-content: space-between;\n}.px-2 {\n display: flex;\n gap: 20px;\n margin-bottom: 20px;\n padding-left: unset!important;\n}.display-flex.my-2 {\n background: #d23888;\n display: flex;\n flex-direction: column;\n align-items: center;\n align-content: center;\n max-width: 360px;\n padding: 20px;\n border-radius: 12px;\n box-shadow: 2px 2px 2px rgb(0 0 0 / 31%);\n}.bullet {\n display: inline-block;\n scale: 1.5;\n margin-bottom: 20px;\n}.display-flex.my-2 .desc {\n color: white;\n}.text-align-center.my-3 {\n width: 80%;\n}.bullet path {\n fill: white;\n}"),null===(e=document.querySelector(".px-2"))||void 0===e||e.insertAdjacentHTML("afterend",'

    Available Credit

    '),null===(n=document.querySelector(".availableBalanceInnerContainer"))||void 0===n||n.insertAdjacentElement("afterbegin",document.querySelector("h2 span.float-right.text-pink-dark")),null===(t=document.querySelector(".availableBalanceInnerContainer"))||void 0===t||t.insertAdjacentElement("beforeend",document.querySelector(".text-align-center.my-3 a.button")),null===(o=document.querySelector(".d-lsg-block"))||void 0===o||o.remove()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="redesignMyCredit",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},6982:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n;const a=window.dataLayer[0],r=[{regex:/^\/payment-history$/,options:!o.aC.member.schoolAccount&&(null===(e=a.user)||void 0===e||null===(e=e.subscription)||void 0===e?void 0:e.offer_code)&&/99P-MONTHLY-ULTIMATE-OFFER-CODE/.test(null===(n=a.user)||void 0===n||null===(n=n.subscription)||void 0===n?void 0:n.offer_code)}];if(r[0].regex.test(location.pathname)&&r[0].options){var t=document.querySelector(".payments-memberships-page #manage-membership span");t&&t.addEventListener("click",(e=>{window.document.fn.events.emit("clickedCancelSpan")}),{once:!0})}const i=(0,o.DX)(["funnel","upgrades","cancel"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const l=(0,o.kQ)(["download"]);l.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),l.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const c=()=>{try{var e=document.querySelector("#manage-membership-list .membership-card-new a.button.defaultGrayOutlineButton");e&&(e.className="button defaultBlueOutlineButton")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="paymentHistoryCTABlue",s={n:d,tg:r,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(s,(e=>document.fn.events.on("clickedCancelSpan",e))),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9180:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/premium$|^\/premium\/individual$|^\/premium\/individual\/primary$|^\/payment$|^\/a-payment\/monthly\/\d+$/,options:!!a.xl&&(0==e.user.twinklid||"free"==e.user.type)&&/^1$|^11$|^12$|^25$/.test(e.user.language_id)&&/^244$|^247$|^246$|^245$/.test(e.user.country_id)}],t=[],r=[],i=()=>{try{const e=document.querySelector("body"),n={childList:!0};new MutationObserver((function(e,n){for(const n of e)if("childList"===n.type){var t=document.querySelectorAll('iframe[title="Message from company"], iframe[title="Button to launch messaging window"], iframe[style*="height: 20px; width: 40px; position: fixed;"]');t&&!!t.length>0&&t.forEach((function(e){e.classList.add("hide")}))}})).observe(e,n)}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="premiumPaymentRemoveChatBubbleDesktop",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"premiumPaymentRemoveChatBubbleDesktop",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},5054:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/premium\/school$/,options:!0}],n=(0,a.DX)(["funnel","upgrades","products"]);n.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const t=[];t.push({type:"click",name:"clicked-1-ContactUs",parentEl:".d-lg-flex.bg-story-area-blue",childEl:"button#contact_us"},{type:"click",name:"clicked-2-FindOutMore",parentEl:".what-is-included",childEl:"button#find_out_more"},{type:"click",name:"clicked-3-FindOutMore",parentEl:".membership.mt-1",childEl:"button#contact_us"},{type:"submit",name:"clickedSubmit",parentEl:"#schoolBoxForm",childEl:"#schoolBoxForm"});const r=()=>{try{document.querySelectorAll(".contact-button span").forEach((e=>e.innerText="Continue"))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="premiumSchools",l={n:i,t:()=>c(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function c(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function d(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return c(e)||!!o&&o[null===(a=window.btoa(i))||void 0===a?void 0:a.replace(/=/g,"")]&&(c(n)||d(t))},codeToRun:()=>{c(e)?(0,a.Gc)((function(){o.A.init(l)})):(c(n)||d(t))&&(0,a.Hh)((function(){o.A.init(l)}))}}}catch(s){const u="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",s,window.location.pathname+"-"+u)}}},6590:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n;const t=window.dataLayer[0],a=[{regex:/^\/premium-thanks/,options:/^\/premium-thanks/.test(location.pathname)&&o.aC.lang.en&&o.aC.country.uk&&t.user.loggedIn&&(null===(e=t.user)||void 0===e||null===(e=e.subscription)||void 0===e?void 0:e.offer_code)&&/99P-MONTHLY-ULTIMATE-OFFER-CODE-FREE/.test(null===(n=t.user)||void 0===n||null===(n=n.subscription)||void 0===n?void 0:n.offer_code)}],r=(0,o.DX)(["cancel"]),i=(0,o.kQ)(["download"]);i.push({type:"click",name:"clickedUpdateEmail",parentEl:".premium-thanks",childEl:'a[href="/edit-details"]'}),i.push({type:"click",name:"clickedChangeContactPref",parentEl:".premium-thanks",childEl:'a[href="/mailing-preferences"]'}),i.push({type:"click",name:"clickedSubsAndPayment",parentEl:".premium-thanks",childEl:'a[href="/payment-history"]'}),i.push({type:"click",name:"clickedResourceLink",parentEl:".resource-suggestion",childEl:"a"});const l=()=>{try{document.querySelector("p.welcome-label").insertAdjacentHTML("afterend",'

    We\'ll remind you 7 days before your trial ends

    ')}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="premiumThanksReminder",d={n:c,tg:a,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:l}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},6356:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:a.xl&&!a.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&(a.aC.country.uk||/^226$|^154$|^12$/.test(e.user.country_id))&&a.aC.lang.en&&document.querySelector('#download_link[data-download="no"]')&&document.querySelector(".trialPriceFlag")&&document.querySelector(".trialPriceFlag .trialPrice")}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),r.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),r.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:".flagPresentSpan a"});const i=()=>{},l=()=>{try{document.querySelector(".flag.trialPriceFlag div").insertAdjacentElement("afterbegin",document.querySelector(".trialPriceFlag .trialPrice"))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c=`0before30DayTrial${a.aC.country.uk?"UK":e.user.country_id}`,d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},9782:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/resource\//,options:a.xl&&n.user.loggedIn&&"free"==n.user.type&&a.aC.country.uk&&a.aC.lang.en&&document.querySelector('#download_link[data-download="no"]')&&document.querySelector(".trialPriceFlag")}],r=(0,a.DX)(["funnel","upgrades","products"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),r.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),r.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),r.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a"});const l=()=>{try{document.querySelector('#download_link[data-download="no"]').innerHTML=document.querySelector('#download_link[data-download="no"]').innerHTML.replaceAll(/Core|Extra|Ultimate/g,"")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="99FreeTrialCTAWordingUKK",d={n:c,t:()=>s(t),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:l}],g:{u:r,e:i},o:{bucket:(e=n.user.twinklid,e%8<=3?0:1),testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return s(t)||!!e&&e[null===(n=window.btoa(c))||void 0===n?void 0:n.replace(/=/g,"")]&&(s(r)||u(i))},codeToRun:()=>{s(t)?(0,a.Gc)((function(){o.A.init(d)})):(s(r)||u(i))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}var e}},8732:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const i=window.dataLayer[0];var e=document.querySelectorAll("#resourceMain .avg-rating-wrapper>.return-resource-average-rating .starRating>.starOn"),n=document.getElementById("comments"),t=n?Array.from(n.querySelectorAll(".comment")):void 0;document.fn.reviews=t;var r=function(){var e,o,r=document.createElement("a"),i=document.getElementById("tabbedContent"),l=Math.ceil(t.length/5),c=Array.from({length:l},(function(e,n){var o=5*n;return t.slice(o,o+5)})),d=function(){c.shift().forEach((function(e){n.appendChild(e)})),0===c.length&&r.remove()};(o=document.createElement("div")).innerHTML='

    Reviews

    ',r.className="loadMore button button-outline-blue-link",r.innerText="Load more reviews",r.addEventListener("click",d),o.className="reviewWrapper",n.innerHTML="",n.setAttribute("id","comment"),o.appendChild(n),o.appendChild(r),i.appendChild(o),null===(e=document.querySelector("#tabContent3"))||void 0===e||e.insertAdjacentHTML("beforeend",''),document.querySelector(".ratings-link").setAttribute("href","#breadcrumb"),(0,a.se)(".reviewWrapper{clear:both; text-align:center; padding-top: 3rem;}li.comment .comment-meta .comment-author .icon-profile { position: absolute; left: -42px;font-size: 2rem; top: 6px;}.comment, .replyToComment{line-height:1.3rem; list-style:none;margin-bottom:1rem;}#comment .comment{border-bottom:1px solid #ddd;}.replyToComment.twinkl{border-left:3px solid #2399F9 ; background: #E9F5FE; padding: 1rem;}li.comment .comment-actions{float:none;}.icon-profile:before{color:deeppink;}li.comment .comment-author span:nth-of-type(2){font-size:1.1rem; font-weight:300}.comment .starRating{margin-left: 0;}.reviewWrapper .reviewsHeading{text-align: left; padding-bottom: 1.8rem;}.loadMore{margin: 2rem 0;}#tabContent3 .commentsList{overflow-y:unset; margin-top: 0;}#resourceMain .comment .comment-actions,#resourceMain .comment .commentThankYou, #resourceMain .comment button {display:none;}.seeReviewsLink{margin-top: 3rem;}"),document.querySelector("ul#comment").addEventListener("click",(e=>{var n=e.target.closest(".reply");if(n){n.parentNode.insertAdjacentHTML("afterend",'
    ');var t=n.closest(".comment"),o=t.getAttribute("data-comment-id");n.classList.add("hidden"),t.querySelector(".replyButton").addEventListener("click",(()=>{submitComment("reply",o)}))}})),d(),document.fn.events.emit("reviewRedesignComplete")};/^\/resource\//.test(window.location.pathname)&&a.xl&&n&&t&&t.length>0&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(i.user.language_id)&&e&&e.length>0&&r();const l=[{regex:/^\/resource\//,options:a.Fr&&!!n&&!!t&&t.length>0&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(i.user.language_id)&&!!e&&e.length>0}],c=(0,a.DX)(["funnel","upgrades","products"]);c.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const d=(0,a.kQ)(["download"]);d.push({type:"click",name:"clickedDownload",parentEl:"body",childEl:"#actual_downloads a"}),d.push({type:"click",name:"clickedSeeReviews",parentEl:"#tabbed_content",childEl:"a[href='#breadcrumb']"}),d.push({type:"click",name:"clickedShowMoreReviews",parentEl:"#resource",childEl:"a.showMoreReviewsLink, a.loadMore"}),d.push({type:"click",name:"clickedHelpful",parentEl:"#resource",childEl:".comment .commentLike"}),d.push({type:"click",name:"clickedML",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now"}),d.push({type:"click",name:"clickedSimilarSearches",parentEl:".similarSearches",childEl:"a.similar"}),d.push({type:"click",name:"leftStarRating",parentEl:".tabContent .starRating",childEl:"div"}),d.push({type:"click",name:"postedReview",parentEl:".tabContent",childEl:"button#postReview"});const s=()=>{try{r()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u="resourceReviewsMobile",p={n:u,t:()=>m(l),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:s}],g:{u:c,e:d},o:{bucket:-1,testing:!1,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function m(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function h(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return m(l)||!!e&&e[null===(n=window.btoa(u))||void 0===n?void 0:n.replace(/=/g,"")]&&(m(c)||h(d))},codeToRun:()=>{m(l)?(0,a.Gc)((function(){o.A.init(p)})):(m(c)||h(d))&&(0,a.Hh)((function(){o.A.init(p)}))}}}catch(g){const y="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",g,window.location.pathname+"-"+y)}}},8967:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e;const c=window.dataLayer[0];var n=!1,t=a.Fr?"mobile":"desktop",r=!1;const d=[{regex:/^\/resource\//,options:a.aC.country.uk&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(c.user.language_id)&&0==(null===(e=c.user)||void 0===e?void 0:e.twinklid)&&(l=null===(i=n=document.querySelector("#download_link"))||void 0===i?void 0:i.getAttribute("data-ext"),r=document.querySelector("#resource_image"),!(!n||!l||/^html$|^pptx$/.test(l)||!r||!t))}],s=(0,a.DX)(["funnel","upgrades","products"]);s.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),s.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const u=(0,a.kQ)(["download"]);u.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),u.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),u.push({type:"click",name:"clickedMyDownload",parentEl:"#download_link",childEl:".myHolder"});const p=()=>{try{r.insertAdjacentHTML("afterbegin","
    "),a.xl&&(0,a.se)(".myHolder{background:#5d8200;position: absolute; width:70px;padding: 10px;\nopacity:0.4;\n display: flex;\n align-content: center;\n justify-content: center;\n top: 40%;\n right: 46%;border-radius:50%;}.myHolder:hover{cursor:pointer;background:#4c6509;opacity:1}#resource_image:hover .myHolder{opacity:1}"),a.Fr&&(0,a.se)(".myHolder{ background: #5d8200;\n position: absolute;\n width: 60px;\n padding: 10px;\n display: flex;\n align-content: center;\n justify-content: center;\n top: 35%;\n right: 40%;\n border-radius: 50%;}");var e=document.querySelector(".myHolder");null==e||e.addEventListener("click",(function(e){n.click()}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+m)}},m=`downloadButtonOnPreviewProspect${t}1`,h={n:m,t:()=>g(d),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:p}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function g(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function y(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return g(d)||!!e&&e[null===(n=window.btoa(m))||void 0===n?void 0:n.replace(/=/g,"")]&&(g(s)||y(u))},codeToRun:()=>{g(d)?(0,a.Gc)((function(){o.A.init(h)})):(g(s)||y(u))&&(0,a.Hh)((function(){o.A.init(h)}))}}}catch(w){const f="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",w,window.location.pathname+"-"+f)}var i,l}},4191:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&o.xl&&o.aC.country.uk&&o.aC.lang.en&&document.querySelector("#resource_image picture")&&document.querySelector('a#download_link[data-download="yes"]')&&"free"==e.user.type&&document.querySelector("#header .free-trial")}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"landedOnFreeTrial",regex:/^\/free-trial-landing/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedImage",parentEl:"#resource_image",childEl:"picture"}),a.push({type:"click",name:"clickedDownloadableCTA",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"});const r=()=>{try{document.querySelector("#resource_image picture").outerHTML=`${document.querySelector("#resource_image picture").outerHTML}`}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},i=()=>{try{document.querySelector("#resource_image picture").addEventListener("click",(()=>document.querySelector('#download_link[data-download="yes"]').click())),(0,o.se)("#resource_image picture {\n cursor: pointer;\n}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant2-"+l)}},l="downloadableImageClickAction",c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r},{name:"variant2",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7799:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e;const n=window.dataLayer[0],t=[{regex:/^\/resource\//,options:!!n.user.twinklid&&"free"==n.user.type&&n.user.loggedIn&&a.Fr&&document.querySelector('#actual_downloads #download_link[data-download="no"]')&&!!document.querySelector(".flag")&&!(null===(e=dataLayer[0].trial)||void 0===e||null===(e=e.free)||void 0===e||!e.link)&&!/^244$|^226$|^20$|^100$|^107$|^110$|^129$|^150$|^169$|^171$|^232$|^113$/.test(n.user.country_id)}],r=(0,a.DX)(["funnel","upgrades","products"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),r.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),r.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),r.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a"});const l=()=>{},c=()=>{try{(0,a.se)("#actual_downloads .flagPresentSpan .flag.trialPriceFlag {\n display: none;\n }\n @media (max-width: 575px) {\n #actual_downloads:has(#download_link.freeTrial){ width: 100%}\n }\n #actual_downloads #download_link.freeTrial .dlButtonContainer{\n justify-content: space-around;\n }");var e=document.querySelector(".trialPriceFlag"),n=document.querySelector(".download.flagPresentSpan");if(e&&n){var t=document.querySelector(".download.flagPresentSpan>a");t.className="button freeTrial",t.innerHTML=dataLayer[0].trial.free.button,n.querySelectorAll("a").forEach((e=>{e.href="/free-trial-landing"}))}}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="99trialMobileRetesttt"+(/^226/.test(n.user.country_id)?"US":"UK"),s={n:d,t:()=>u(t),ttl:60,b:[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],g:{u:r,e:i},o:{bucket:n.user.twinklid%2,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(t)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(r)||p(i))},codeToRun:()=>{u(t)?(0,a.Gc)((function(){o.A.init(s)})):(u(r)||p(i))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},7919:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/resource\//,options:a.aC.country.uk&&a.aC.lang.en&&a.xl}],n=(0,a.DX)(["funnel","upgrades","products"]),t=(0,a.kQ)(["download"]);t.push({type:"click",name:"clickedDownloadableCTA",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),t.push({type:"click",name:"clickednondownloadablecta",parentel:"#actual_downloads",childel:"a[data-download='no']"}),t.push({type:"click",name:"clickedCTA",parentel:"#actual_downloads",childel:"a"}),t.push({type:"click",name:"clickedML",parentel:"#mlResources",childel:"a"}),t.push({type:"click",name:"clickedPreviewImage",parentel:"#resource_image",childel:"a"});const r=()=>{try{(0,a.se)("#resource #resourceMl #mlResources {\n grid-gap: calc(1rem - 2px)!important;}\n @media screen and (min-width: 1200px) {\n #container.resource-page {\n width: calc(1139px + 2rem)!important;\n }\n }")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="mlandPreviewResolutionPixels",l={n:i,t:()=>c(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function c(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function d(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return c(e)||!!o&&o[null===(a=window.btoa(i))||void 0===a?void 0:a.replace(/=/g,"")]&&(c(n)||d(t))},codeToRun:()=>{c(e)?(0,a.Gc)((function(){o.A.init(l)})):(c(n)||d(t))&&(0,a.Hh)((function(){o.A.init(l)}))}}}catch(s){const u="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",s,window.location.pathname+"-"+u)}}},6624:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&o.Fr&&"free"==e.user.type&&document.querySelector('#download_link.flagPresent[data-download="no"]')&&o.aC.country.uk&&o.aC.lang.en&&document.querySelector(".trialPriceFlag")}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"landedOnFreeTrialLanding",regex:/^\/free-trial-landing/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedNonDownloadableCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']",mod:5});const r=()=>{try{(0,o.se)('.trialPriceFlag{\n background:none!important;\n left: 10px;\n top: 8px!important;\n color: white !important;\n border: 0 !important;\n box-shadow: none !important;\n border-right:2px solid #ffffff26!important;\n width:100px!important;\n height:56px!important;\n border-radius:0!important;\n }#actual_downloads a#download_link:not([href^="/go/"]):not([href^="/ar-3d/"]):not(.freeTrial):not(.mobile-download) {\n padding-left: 115px!important;\n }#actual_downloads a#download_link:not([href^="/go/"]):not([href^="/ar-3d/"]):not(.freeTrial):not(.mobile-download):before {\n content:\'\'!important\n }svg.downloadSVG {\n right: 12px;\n top: 12px;\n position: absolute;\n fill: white;\n }a#download_link {\n height: 70px!important;\n padding-top: 10px !important;\n }a#download_link {\n background-color: #039500 !important;\n }.stickyRContainer a.flag.core.trialPriceFlag {\n font-size: 21px!important;\n }a#download_link {\n padding-right: 50px!important;\n }'),document.querySelector(".trialPriceFlag").innerHTML="£0.0030 day trial",document.querySelector("#download_link").insertAdjacentHTML("beforeend",''),setTimeout((()=>document.querySelectorAll("#actual_downloads a[href]").forEach((e=>e.href="/free-trial-landing"))),1e3)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="mobileCtaWithPipe",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2726:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});var o=t(869),a=t(2766),r=t(8633);const i=()=>{try{var e;const n=window.dataLayer[0],t=[{regex:/^\/resource\//,options:n.user.twinklid>0&&!!document.querySelector("#average_rating")&&a.aC.lang.en&&(/^US/.test(n.geo)&&"226"==n.user.country_id||"244"==n.user.country_id)&&!(null===(e=n.resource)||void 0===e||!e.age_profile)}],i=[],l=[],c=()=>{try{a.xl&&(0,o.A)()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},d=()=>{try{(0,o.A)(),a.xl?(0,r.A)(!1):(0,r.A)(!0)}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},s=()=>{try{(0,o.A)(),(0,r.A)(!0)}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u=`resourceExtraInfo-v2${a.aC.country.uk?"-England"+(/^110$/.test(n.user.career_id)?"-parent":""):"-US"}${a.Fr?"-mobile":"-desktop"}`,p={n:u,tg:t,ttl:60,b:[{name:"original",weight:1,run:c},{name:"variant",weight:1,run:d},{name:"variant2",weight:1,run:s}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,a.b3)(p),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",e,window.location.pathname+"-"+n)}}},4357:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:e.user.loggedIn&&"free"==e.user.type&&document.querySelector('#actual_downloads #download_link[data-download="no"]')&&a.aC.country.uk&&a.aC.lang.en&&a.xl&&document.querySelectorAll(".emailCheck,.generic_pop:not(#logout-popup)").length>0}],t=(0,a.DX)(["funnel","upgrades","products"]),r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a"}),r.push({type:"click",name:"clickedCTA",parentEl:"#resource_image",childEl:"a"}),r.push({type:"click",name:"clickedML",parentEl:"#mlResources",childEl:"a"});const i=()=>{try{(0,a.se)("body .generic_pop:not(#logout-popup),body .emailCheck{\n display:none!important;\n}#header-overlay::after, #messageOverlay, #overlay, #overlayNotDismissible, #popUpOverlay{\n display:none!important;\n}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="noPopUpsResourceFreeNonDownloadableNoMerchRetest",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},5852:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!a.aC.member.schoolAccount&&e.user.loggedIn&&a.Fr&&a.aC.country.uk&&a.aC.lang.en}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedPostDownloadresource",parentEl:"#resources_overlay",childEl:".res-card a "}),r.push({type:"click",name:"clickedMLResource",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now a "});const i=()=>{try{(0,a.se)(".ml-res-display-box .starRating {display:none} .ml-res-display-box span {display:none} .resource-page #resource_image .ml-res-display-box{padding:5px}.resource-page #resource_image .ml-res-display-box .res-container {width:45%} .closeRevOverlay {font-size: 2rem;right:0.3rem!important}.resource-page #resource_image .ml-res-display-box .res-card{column-gap:5px!important} ")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="postDownloadMobileOverlay",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?document.fn.events.on("download",(()=>{o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},2983:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&!e.user.loggedIn&&o.aC.country.uk&&0==e.user.twinklid&&document.querySelector('a[data-download="no"]')&&document.querySelector("#actual_downloads")&&!!document.querySelector("#download_link")&&document.querySelector('#download_link[href="/free-trial-landing"]')&&!document.querySelector('#download_link[href^="/go"]')&&o.aC.lang.en}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"signedUp",type:"search",regex:/signed_up/,options:!0}),t.push({name:"landedOnLogin",regex:/login/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedCTA",parentEl:"body",childEl:"a#download_link"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),a.push({type:"on",on:"pageViewDurationStart",name:"pageViewDuration",mod:1,bypass:!0});const r="prospectResourceCtaCopyAndRedirectUKJustAB",i={n:r,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant1",weight:1,run:()=>{try{document.querySelector("#download_link").innerHTML="Free trial
    Download
    "}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant1-"+r)}}}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2651:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const t=window.dataLayer[0],a=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&t.user.loggedIn&&"free"==t.user.type&&o.aC.lang.en&&o.xl&&o.aC.country.uk&&document.querySelector('#download_link[data-download="no"]')&&document.querySelector('.ultimateCTAContainer a[href^="/free-trial"]')&&document.querySelector("#download_link.freeTrial")}],r=(0,o.DX)(["funnel","upgrades","products"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const i=(0,o.kQ)(["download"]);i.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),i.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']",mod:5});var e=()=>{(0,o.se)("#actual_downloads #download_link.freeTrial .dlButtonContainer .trialFlag{border:0!important;border-right:2px solid #ffffff26!important;border-radius:0!important;padding-right:10px!important;}")};const l="resourceCTAColourRetestWithPipe";var n=[{name:"NormalGreenPipedCategory",weight:1,run:()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant1-"+l)}}},{name:"DarkGreenPipedCategory",weight:1,run:()=>{try{(0,o.se)("#actual_downloads #download_link.freeTrial{background-color:#039500!important;}"),e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant5-"+l)}}}];const c={n:l,tg:a,ttl:60,b:n,g:{u:r,e:i},o:{bucket:t.user.twinklid%n.length,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5156:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const c=window.dataLayer[0];var e=!1,n=!1,t=!1,r=!1,i=!1,l=!1;a.aC.lang.en&&a.aC.country.uk&&a.Fr&&/^\/resource\//.test(location.pathname)&&(e=document.querySelector(".descriptionWrap"),n=document.querySelector(".descriptionWrap .showMoreDes"),t=document.querySelector(".resourceDescription"),i=Array.from(document.querySelectorAll(".comment.has-rating")),r=document.querySelector(".shortDescription"),i&&i.length>3&&(l=i.find((function(e){var n;if((null===(n=e.querySelector("p"))||void 0===n||null===(n=n.innerText)||void 0===n?void 0:n.length)>50&&e.querySelector(".starRating[data-rating-number='5'"))return e}))));const d=[{regex:/^\/resource\//,options:a.aC.lang.en&&a.aC.country.uk&&a.Fr&&e&&t&&c.user.loggedIn&&n&&r||a.aC.lang.en&&a.aC.country.uk&&a.Fr&&c.user.loggedIn&&i&&i.length>3}],s=(0,a.DX)(["funnel","upgrades","products"]);s.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const u=(0,a.kQ)(["download"]);u.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),u.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),u.push({type:"click",name:"clickedInfinteScrollResource",parentEl:"#newResCont ",childEl:".resultContainer "}),u.push({type:"click",name:"clickedMLColumn",parentEl:"#mlResources",childEl:".what-are-members-downloading-now"}),u.push({type:"click",name:"clickedShowMoreDescription",parentEl:"#resource",childEl:".showMoreDesLink"}),u.push({type:"click",name:"clickedShowMoreReviews",parentEl:"#resource",childEl:".loadMore"}),u.push({type:"click",name:"clickedStarReviews",parentEl:"#tabbedContent",childEl:".starOff "}),u.push({type:"click",name:"clickedRequestSupport",parentEl:"#tabbedContent",childEl:".request-support "}),u.push({type:"click",name:"clickedRequestSupport",parentEl:"#tabbedContent",childEl:".request-support "}),u.push({type:"click",name:"clickedUpgradeToLeaveAReview",parentEl:"#tabbedContent",childEl:"#join_to_comment "});const p=()=>{try{e&&t&&n&&r&&(e.insertAdjacentElement("afterbegin",t),n.addEventListener("click",(function(e){t.classList.add("showMe"),r.classList.add("hide"),n.classList.add("hide")})),(0,a.se)(".resourceDescription{display:none}.resourceDescription.showMe{display:block} .shortDescription.hide,.showMoreDes.hide{display:none!important}")),i&&i.length>3&&document.fn.events.on("reviewRedesignComplete",(()=>{var e=document.querySelector(".reviewWrapper"),n=document.querySelector(".reviewWrapper #comment"),t=document.querySelector(".tabContent .seeReviewsLink");if(e&&n&&t){var o=document.querySelector(".loadMore"),r=document.querySelector(".seeReviewsLink a");if(r&&(r.innerText="See more reviews",r.addEventListener("click",(function(e){null==o||o.classList.add("showMe"),(0,a.se)(".reviewWrapper {display:block!important}.comment{display:block!important}.what-are-members-downloading-now{display:block!important}.replyToComment{display:block!important}")}))),l&&l.outerHTML){l.classList.add("showMe");var i=l.outerHTML;t.insertAdjacentHTML("beforebegin",i),(0,a.se)(".replyToComment {display:none}")}else if(document.querySelector(".comment.has-rating .starRating[data-rating-number='5")){var c;(s=document.querySelector(".comment.has-rating .starRating[data-rating-number='5"))&&s.parentNode&&s.parentNode.parentNode&&t.insertAdjacentElement("beforebegin",s.parentNode.parentNode),null===(c=s)||void 0===c||null===(c=c.parentNode)||void 0===c||null===(c=c.parentNode)||void 0===c||c.classList.add("showMe")}else if(document.querySelector(".comment.has-rating")){var d,s;(s=document.querySelector(".comment.has-rating .starRating[data-rating-number='5"))&&s.parentNode&&s.parentNode.parentNode&&t.insertAdjacentElement("beforebegin",s.parentNode.parentNode),null===(d=s)||void 0===d||null===(d=d.parentNode)||void 0===d||null===(d=d.parentNode)||void 0===d||d.classList.add("showMe")}(0,a.se)(".tabContent .commentsList{display:none} .tabContent #join_to_comment {border: none;margin:2px!important;\n text-align: left!important;\n float: left!important;\n padding: 0px!important;\n font-size: 12px!important;} .seeReviewsLink a{text-decoration:none!important}.seeReviewsLink{ display: flex;\n border: 1px solid #2a97d4;\n justify-content: center;\n padding: 7px;\n border-radius: 5px;}.tabContent .commentLike,.tabContent .comment-actions {display:none!important} .request-support { text-align: left!important; text-decoration: underline;margin: 0px;\n border: none;\n font-weight: normal;\n font-size: 13px;}.seeReviewsLink {margin-top:0px!important}.tabContent .replyToComment {display:none!important} .tabContent .alert{display:none} #ratingMainDiv {margin-top:0px!important} .tabContent .icon-profile{position:static!important}.reviewWrapper {display:none!important}.comment.showMe{display:block}.loadMore{display:none!important}.myLoad{display:block!important}.myLoad.hideMe{display:none!important}.loadMore.showMe{display:block!important}.what-are-members-downloading-now:nth-of-type(n+21){display:none}.reviewWrapper{padding-top:0px}.reviewsHeading{padding-bottom:0px!important}.comment.showMe:nth-of-type(n+2){display:none!important}.showMoreReviewsLink{display:none}.myLoad {border-color:none }")}}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+m)}},m="reduceReviewsAndDescriptionMobile2",h={n:m,t:()=>g(d),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:p}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function g(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function y(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return g(d)||!!e&&e[null===(n=window.btoa(m))||void 0===n?void 0:n.replace(/=/g,"")]&&(g(s)||y(u))},codeToRun:()=>{g(d)?(0,a.Gc)((function(){o.A.init(h)})):(g(s)||y(u))&&(0,a.Hh)((function(){o.A.init(h)}))}}}catch(w){const f="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",w,window.location.pathname+"-"+f)}}},372:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/resource\//,options:!!a.Fr}],n=[],t=[],r=()=>{try{(0,a.se)(".similarSearches a.similar{flex: 1 1 150px; text-align: initial; line-height: initial; justify-content: left; overflow: hidden; font-size: 12px; padding: 5px!important; height: auto!important;}.similarSearches .similar img{margin-right: 10px;}#resource .similarSearches{margin-right: -10px; height: max-content; max-height: unset;}.similarSearches a.similar:nth-child(n+7){display: none!important;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="relatedSearchOneSizeMobile",l={n:i,t:()=>c(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function c(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function d(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return c(e)||!!o&&o[null===(a=window.btoa(i))||void 0===a?void 0:a.replace(/=/g,"")]&&(c(n)||d(t))},codeToRun:()=>{c(e)?(0,a.Gc)((function(){o.A.init(l)})):(c(n)||d(t))&&(0,a.Hh)((function(){o.A.init(l)}))}}}catch(s){const u="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",s,window.location.pathname+"-"+u)}}},7606:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;window.dataLayer[0];const n=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&1==(null===(e=document.querySelectorAll("#breadcrumb a"))||void 0===e?void 0:e.length)&&document.querySelector('#breadcrumb a[href="/"]')&&o.xl}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedTwinklBreadcrumb",parentEl:"#breadcrumb",childEl:"a[href='/']"}),a.push({type:"click",name:"clickedBreadcrumb",parentEl:"#breadcrumb",childEl:"a"}),a.push({type:"click",name:"clickedOtherA",parentEl:"body",childEl:"a"});const r=()=>{try{var e;null===(e=document.querySelector("#breadcrumb"))||void 0===e||e.remove()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="removeSingularBreadCrumb",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4247:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&(o.aC.country.uk||226==e.user.country_id)&&!!document.querySelector('a#download_link[data-download="no"]')&&document.querySelector("#resource_image a")}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const r=()=>{try{setTimeout((()=>{document.querySelectorAll('a#download_link[data-download="no"][href^="/free-trial-payment"],#resource_image a[href^="/free-trial-payment"]').forEach((e=>{e.href="/free-trial-landing"}))}),500)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="resourceCTADirectTestUSMobile",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2750:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{window.dataLayer[0];const e=[{regex:/^\/resource\//,options:!!document.querySelector(".similarSearches>.similar")}],n=(0,o.DX)(["funnel"]);n.push({name:"searchAfterResource",regex:/^\/search$/,options:/\/resource\//.test(document.referrer)}),n.push({name:"search",regex:/^\/search$/,options:!0});const t=(0,o.kQ)(["download"]);t.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),t.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),t.push({type:"click",name:"clickedML",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now"});const a=()=>{try{(0,o.se)("section#tabbedContent>h4, #tabbedContent>.similarSearches{display:none;}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+r)}},r="resourceHideSearchSuggestions",i={n:r,tg:e,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:a}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2332:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const r=window.dataLayer[0];var e,n,t,a=()=>{};const i=[{regex:/^\/resource\//,options:/^\/resource\/(?!free-resource)/.test(location.pathname)&&r.user.loggedIn&&!!sessionStorage.latestSearch&&(()=>{var o,r,i=null===(o=sessionStorage)||void 0===o||null===(o=o.latestSearch)||void 0===o?void 0:o.substring(8,21);if(void 0!==i&&Date.now()-+i>12e5)return!1;if(!(t=document.querySelector("#mlResources")))return!1;e=[...t.querySelectorAll("div.what-are-members-downloading-now")];var l=null===(r=JSON.parse(sessionStorage.latestSearch))||void 0===r?void 0:r.results;if(l&&l.length>0){n=new Set(l);var c=e.slice(0,12).some((e=>{var t=e.querySelector("a > img").getAttribute("data-resource-id");return n.has(t)}));return c&&(a=(o=5)=>{var a=[];e.forEach(((e,t)=>{var r=(Math.pow(1/(Math.pow(t/25,.8)+1),5)+.015)/1.015,i=e.querySelector("a > img").getAttribute("data-resource-id");if(n.has(i))var l=r*o;else l=r;a.push({index:t,new_score:l})})),a=a.sort(((e,n)=>n.new_score-e.new_score)),t.innerHTML="",a.forEach((n=>{var o=e[n.index];t.appendChild(o)}))}),c}return!1})()}],l=(0,o.DX)(["funnel","products"]);l.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const c=[];c.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),c.push({type:"click",name:"clickedML",parentEl:".whatsPopular",childEl:".what-are-members-downloading-now a",mod:3}),c.push({type:"click",name:"clickedFirst4",parentEl:".whatsPopular",childEl:".what-are-members-downloading-now:nth-of-type(-n+5) a"});const d=()=>{try{a(5)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-original-"+u)}},s=()=>{try{a(100)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u="resourcePageSearchMlMix-v7",p={n:u,tg:i,ttl:60,b:[{name:"original",weight:1,run:d},{name:"variant",weight:1,run:s}],g:{u:l,e:c},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(p),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},812:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const t=window.dataLayer[0];var e=!1,n=!1;/^\/resource\//.test(location.pathname)&&!t.user.loggedIn&&0==t.user.twinklid&&a.aC.country.uk&&a.aC.lang.en&&""==t.user.type&&(e=document.querySelector("#resource_image .sticker.sticker-free"),a.Fr?n="mobile":a.xl&&(n="desktop"));const r=[{regex:/^\/resource\//,options:!!e&&n}],i=(0,a.DX)([]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),i.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),i.push({name:"visitedSignUp",type:"pathname",regex:/^\/sign-up$/,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),l.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const c=()=>{try{(0,a.se)("#resource_image .sticker.sticker-free{display:none}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d=`resourceMobileProspectRemoveFreeBanner${n}`,s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?(0,a.Gc)((function(){o.A.init(s)})):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},3738:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const t=window.dataLayer[0];var e=!!document.querySelector("#actual_downloads a[data-download='no']"),n=document.querySelector("#resource_image .getFreeResources");const r=[{regex:/^\/resource\//,options:a.xl&&t.user.loggedIn&&"free"==t.user.type&&e&&!!n&&/^244$|^247$|^246$|^245$/.test(t.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(t.user.language_id)}],i=(0,a.DX)(["funnel","products"]),l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a"}),l.push({type:"click",name:"clickedNewsletterCTA",parentEl:"#resource_image",childEl:".getFreeResources.resourcePagePreview"}),l.push({type:"click",name:"joinedNewsletter",parentEl:"body",childEl:".newsletterContainer .joinButton"});const c=()=>{try{(0,a.se)("body .getFreeResources { display: none!important; }")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="resourceNewsletterCTAPremium",s={n:d,t:()=>u(r),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(r)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(i)||p(l))},codeToRun:()=>{u(r)?(0,a.Gc)((function(){o.A.init(s)})):(u(i)||p(l))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}}},4015:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e="resourcePinchToZoomUpscaleV2",n=window.dataLayer[0],t=[{regex:/^\/resource\/(?!free-resource)/,options:o.Fr&&/^\/resource\/(?!free-resource)/.test(window.location.pathname)&&((0,o.e9)(e)||!(n.user.loggedIn&&"paid"==n.user.type&&n.user.twinklid))&&!!window.visualViewport}];t[0].options&&(0,o.Gc)((()=>{var e=!1;window.visualViewport.addEventListener("resize",(function(){1===window.visualViewport.scale||e||(document.fn.events.emit("pinchToZoom"),e=!0)})),document.fn.events.on("last",(()=>{document.fn.events.emit("pageViewDurationStart")}))}));const a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"saveButtonClick",parentEl:"#fav_wrapper",childEl:"a.create_fav"}),r.push({path:/^\/resource\//,type:"on",name:"pinchToZoom",on:"pinchToZoom",mod:3}),r.push({type:"on",on:"pageViewDurationStart",name:"pageViewDuration",mod:1,bypass:!0}),a.push({name:"signed-up",regex:/signed_up/,type:"search",options:!0});const i={n:e,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{try{let e=()=>{var e;let n=null===(e=document.querySelector('link[rel="preload"]'))||void 0===e?void 0:e.href;if(n){var t,o;let l=/\.([0-9a-z]+)(?:[\?#]|$)/i,c=null===(o=(null===(t=document.querySelector("#resource_image picture img"))||void 0===t?void 0:t.src).match(l))||void 0===o||null===(o=o[0])||void 0===o?void 0:o.toString();var a,r,i=(/\/u\/ux\//.test(n)?"https://images.twinkl.co.uk/tr/raw/upload"+(null==n||null===(a=n.match(/(\/u\/ux\/[\w\-\.\_]+)$/))||void 0===a?void 0:a[0]):"https://content.twinkl.co.uk/image"+(null==n||null===(r=n.match(/(\/[\w]+\/[\w\-\.]+\/[\w\-\.]+)$/g))||void 0===r?void 0:r[0])).replace(/\.\w+$/,`${c}`);let d=document.querySelector("#resource_image picture source");function s(){d.srcset=i}setTimeout(s,1e3)}};document.fn.events.on("pinchToZoom",e)}catch(n){(0,o.BI)("ABError",n,window.location.pathname+"-variant-"+e)}}}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(i,(e=>{o.e9?(0,o.Gc)(e):document.fn.events.on("pinchToZoom",e)})),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4508:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];var e=document.querySelectorAll(".what-are-members-downloading-now .sticker.sticker-aus.sticker-no-hover");const n=[{regex:/^\/resource\//,options:a.xl&&!!e&&e.length>0&&a.aC.country.uk&&a.aC.lang.en}],t=(0,a.DX)(["funnel"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedDownloadCTA",parentEl:"body",childEl:"#actual_downloads a"}),r.push({type:"click",name:"clickedMl",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now a"}),r.push({type:"click",name:"clickedMl-AustralianResource",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now.aus_res a"}),r.push({path:/^\/resource\//,type:"click",name:"downloadedAustralianResource",parentEl:"body",childEl:"#actual_downloads a[data-download='yes']",options:!!document.querySelector("#resource_image .sticker-aus")}),r.push({path:/^\/resource\//,type:"click",name:"clickedAustralianResourceCTA",parentEl:"body",childEl:"#actual_downloads a",options:!!document.querySelector("#resource_image .sticker-aus")});const i=()=>{try{e.forEach((e=>{var n=e.closest(".what-are-members-downloading-now");n&&n.classList.add("aus_res")}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{e.forEach((e=>{var n=e.closest(".what-are-members-downloading-now");n&&n.classList.add("aus_res"),e.remove()}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="resourceRemoveAusMlBanner2",d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},462:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0];var e=document.querySelector(".newSignUpFree");const t=[{regex:/^\/resource\//,options:a.xl&&!!e&&0==n.user.twinklid&&!n.user.loggedIn&&/^$|^none$/.test(n.user.type)&&/^244$|^245$|^246$|^247$/.test(n.user.country_id)}],r=(0,a.DX)(["funnel"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),r.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),r.push({name:"visitedSignUp",type:"pathname",regex:/^\/sign-up$/,options:!0});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedDownloadCTA",parentEl:"#actual_downloads",childEl:"a"}),i.push({type:"click",name:"clickedPreviewImage",parentEl:"#resource_image",childEl:"a"}),i.push({type:"click",name:"clickedFreeAccountIncludesCTA",parentEl:".newSignUpFree",childEl:".freeUspBody a"}),i.push({type:"click",name:"clickedAnyResourceSignUpLink",parentEl:"#resource",childEl:"a[href='/sign-up']"}),i.push({type:"click",name:"clickedHeaderSignUp",parentEl:"#sticky-header",childEl:"a[href='/sign-up']"});const l=()=>{try{(0,a.se)(".newSignUpFree{display: none!important;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="resourceRemoveFreeAccIncludes",d={n:c,t:()=>s(t),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:l}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return s(t)||!!e&&e[null===(n=window.btoa(c))||void 0===n?void 0:n.replace(/=/g,"")]&&(s(r)||u(i))},codeToRun:()=>{s(t)?(0,a.Gc)((function(){o.A.init(d)})):(s(r)||u(i))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},5960:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!!a.xl&&/^244$|^247$|^246$|^245$/.test(e.user.country_id)}],t=[],r=[],i=()=>{try{(0,a.se)("#resource #tabbed_content .tab { background-color: #f9f9f9; border: 2px solid #ddd; border-bottom: 0; }\n .tabContent.top-minus-3px.selected { border-radius: 0 5px 5px 5px; }\n #resource #tabbed_content .tabContent { border: 2px solid #ddd; }\n #resource #tabbedContent #tabContent3 .seeReviewsLink { margin-top: 2rem; }\n #resource #tabbedContent #tabContent3 .seeReviewsLink a{ text-decoration: none; }\n #resource #tabbedContent #tabContent3 .seeReviewsLink a:hover {text-decoration: underline;}\n .request-support { min-width: 50%; font-size: 16px; }\n #tabbed_content button.button-outline-blue-link.alert { padding: 10px; }\n #resource #resourceMain h1 { font-size: 1.45em; }\n #resource #tabbed_content .first { border-left: 2px solid #ddd!important; }\n .ratingWrapper { border: 0; }\n .ratingWrapper .ratingBar>div.barInner { background: #FFB800; }\n .ratingHolder.before-reviews .rating .rate-this { margin-bottom: 10px; }\n #resource #tabbed_content .tab:not(.selected):hover { background-color: #F0F0F0; }\n #tabbed_content ul#comments { display: none; }\n #tabContent3 .commentsList.m-b-2 { margin-bottom: 0.5rem!important; }")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="resourceTabbedSectionUI",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},6126:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e,n,t,r;const c=window.dataLayer[0];var i=!1,l=!1;/^\/resource\//.test(location.pathname)&&!a.aC.member.schoolAccount&&c.user.loggedIn&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&"paid"==(null===(e=c.user)||void 0===e?void 0:e.type)&&/^Core$|^Extra$/.test(null===(n=c.user.subscription)||void 0===n||null===(n=n.bundle)||void 0===n?void 0:n.name)&&0==(null===(t=c.user)||void 0===t?void 0:t.schoolAccount)&&localStorage.hasVC&&/^19$|^20$/.test(null===(r=c.user)||void 0===r||null===(r=r.subscription)||void 0===r?void 0:r.type_id)&&(i=document.querySelector(".flag.ultimate.upgrade-now-monthly"),l=document.querySelector(".flag.ultimate.upgrade-now-monthly div"));const d=[{regex:/^\/resource\//,options:!!i&&!!l}],s=(0,a.DX)(["funnel","upgrades","products"]);s.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const u=(0,a.kQ)(["download"]);u.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),u.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const p=()=>{try{i.outerHTML='\n \n
    Upgrade
    for
    £0.00
    '}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+m)}},m="resourceUltimateFreeTrialCTA1",h={n:m,t:()=>g(d),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:p}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function g(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function y(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return g(d)||!!e&&e[null===(n=window.btoa(m))||void 0===n?void 0:n.replace(/=/g,"")]&&(g(s)||y(u))},codeToRun:()=>{g(d)?(0,a.Gc)((function(){o.A.init(h)})):(g(s)||y(u))&&(0,a.Hh)((function(){o.A.init(h)}))}}}catch(w){const f="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",w,window.location.pathname+"-"+f)}}},1846:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e,n,t,r;const c=window.dataLayer[0];var i=!1,l=!1;/^\/resource\//.test(location.pathname)&&!a.aC.member.schoolAccount&&c.user.loggedIn&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&"paid"==(null===(e=c.user)||void 0===e?void 0:e.type)&&/^Core$|^Extra$/.test(null===(n=c.user.subscription)||void 0===n||null===(n=n.bundle)||void 0===n?void 0:n.name)&&0==(null===(t=c.user)||void 0===t?void 0:t.schoolAccount)&&localStorage.hasVC&&!/^19$|^20$/.test(null===(r=c.user)||void 0===r||null===(r=r.subscription)||void 0===r?void 0:r.type_id)&&(i=document.querySelector(".flag.ultimate.upgrade-now-yearly"),l=document.querySelector(".flag.ultimate.upgrade-now-yearly div"));const d=[{regex:/^\/resource\//,options:!!i&&!!l}],s=(0,a.DX)(["funnel","upgrades","products"]);s.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const u=(0,a.kQ)(["download"]);u.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),u.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const p=()=>{try{i.outerHTML='\n \n
    Upgrade
    for
    £0.00
    '}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+m)}},m="resourceUltimateFreeTrialCTAAnnual",h={n:m,t:()=>g(d),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:p}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function g(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function y(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return g(d)||!!e&&e[null===(n=window.btoa(m))||void 0===n?void 0:n.replace(/=/g,"")]&&(g(s)||y(u))},codeToRun:()=>{g(d)?(0,a.Gc)((function(){o.A.init(h)})):(g(s)||y(u))&&(0,a.Hh)((function(){o.A.init(h)}))}}}catch(w){const f="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",w,window.location.pathname+"-"+f)}}},1144:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:e.user.loggedIn&&!!e.user.schoolAccount&&document.querySelector('#download_link[data-download="no"][href^="/school/upgrade-alert"]')&&a.aC.lang.en&&a.aC.country.uk}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedRequestAccess",parentEl:"#actual_downloads",childEl:"a[data-download='no']",mod:5});const i=()=>{try{(0,a.se)("#download_link b {\n font-size: 26px;\n}"),document.querySelectorAll('#download_link[data-download="no"]').forEach((e=>{e.innerHTML="Request access to
    Download"}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-control-"+c)}},l=()=>{try{(0,a.se)("#actual_downloads span.download a {\n font-size: 1em!important;\n}#download_link b {\n font-size: 26px;\n}"),document.querySelectorAll('#download_link[data-download="no"]').forEach((e=>{e.innerHTML="Request to
    Download"}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="schoolAccountCtaCopyNewTest",d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},3986:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e;const n=window.dataLayer[0],t=[{regex:/^\/resources\//,options:a.xl&&n.user.loggedIn&&!document.querySelector(".topCatPage")&&document.querySelectorAll(".similarSearches .similar").length>0&&document.querySelector(".main_title")&&a.aC.country.uk}],r=(0,a.DX)([]),i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedResult",parentEl:"#resources",childEl:".resource-preview a"}),i.push({type:"click",name:"clickedSearchSuggestions",parentEl:"body",childEl:".similarSearches a"}),i.push({type:"click",name:"clickedBreadcrumb",parentEl:"#breadcrumb",childEl:"a"}),i.push({type:"click",name:"clickedLinkedListLink",parentEl:"#category-link-list",childEl:"a"}),i.push({path:/^\/search/,type:"click",name:"clickedResultAfterSSclick",parentEl:".left",childEl:".resultContainer",options:(null===(e=location)||void 0===e||null===(e=e.search)||void 0===e?void 0:e.split("&from_category_similar=1").length)>1}),i.push({path:/^\/search/,type:"click",name:"clickedSearchResult",parentEl:".left",childEl:".resultContainer",options:!0});const l=()=>{try{var e,n=document.querySelector(".similarSearches");document.querySelector(".main_title").insertAdjacentElement("beforebegin",n),(0,a.se)(".similarSearches {\n margin-left:0!important;\n margin-top: 20px;\n margin-bottom: 20px;\n }"),null===(e=document.querySelector("#related-searches-heading"))||void 0===e||e.remove(),n.querySelectorAll(".similar").forEach((e=>{e.href+="&from_category_similar=1"}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="searchSuggestionsCategoryPageIteration",d={n:c,t:()=>s(t),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:l}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return s(t)||!!e&&e[null===(n=window.btoa(c))||void 0===n?void 0:n.replace(/=/g,"")]&&(s(r)||u(i))},codeToRun:()=>{s(t)?(0,a.Gc)((function(){o.A.init(d)})):(s(r)||u(i))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},6877:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=[{regex:/^\/resource\//,options:window.dataLayer[0].user.loggedIn&&a.aC.country.uk&&a.aC.lang.en&&document.querySelector('#download_link[data-download="yes"]')&&a.xl}],n=(0,a.DX)(["funnel","upgrades","products"]);n.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const t=(0,a.kQ)(["download"]);t.push({type:"click",name:"clickedMl",parentEl:"#youll_love_resource_box",childEl:"a"}),t.push({type:"click",name:"ClickedFirstML",parentEl:"#youll_love_resource_box",childEl:".what-are-members-downloading-now:nth-of-type(-n+1) a"}),t.push({type:"click",name:"clickedDownloadAgain",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"});const r=()=>{try{(0,a.se)('#resource{\n grid-template-columns: 2fr 3fr; \n transition:300ms;\n }#resource #actual_downloads a#download_link:not([href^="/go/"]):not([href^="/ar-3d/"]):before {\n left: -32px!important;\n }.g-drive-container{\n display:none\n }#resource #resourceMl .mlRecBubblesContainer {\n width: 640px!important;\n }#tabbed_content li#tab5 {\n display: none!important;\n}')}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="3columnMlPostDownloadReset1",l={n:i,t:()=>c(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function c(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function d(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return c(e)||!!o&&o[null===(a=window.btoa(i))||void 0===a?void 0:a.replace(/=/g,"")]&&(c(n)||d(t))},codeToRun:()=>{c(e)?document.fn.events.on("download",(()=>o.A.init(l))):(c(n)||d(t))&&(0,a.Hh)((function(){o.A.init(l)}))}}}catch(s){const u="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",s,window.location.pathname+"-"+u)}}},7090:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const n=[{regex:/^\/search/,options:a.xl&&a.aC.country.uk&&a.aC.lang.en&&document.querySelector(".resultContainer.searchSuggestionsBlock .boxTitle")}],t=(0,a.DX)(["funnel","upgrades","products"]),r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedResult",parentEl:".left",childEl:".resultContainer:not(.searchSuggestionsBlock)"}),r.push({type:"click",name:"clickedSearchSuggestionSuggestionBlock",parentEl:".left",childEl:".resultContainer.searchSuggestionsBlock .similar"}),r.push({type:"click",name:"clickedSimilarSearches",parentEl:".similarSearches",childEl:".similar"});var e=()=>{(0,a.se)("#search_container .searchMain .searchSuggestionsBlock .searchBlockContent{\n border-right: unset!important;\n border-bottom: unset!important;\n border-left: unset!important;\n}.searchBlockContent a.similar.color {\n margin-top: 10px;\n}.searchBlockContent a.similar.color {\n border-radius: 10px!important;\n display: -ms-flexbox!important;\n display: flex!important;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n -ms-flex-align: center;\n align-items: center;\n background: #2399f92b;\n border: 2px solid #2399f99e!important;\n -ms-flex: 1 1 160px;\n flex: 1 1 160px;\n text-align: initial;\n line-height: initial;\n -ms-flex-pack: left;\n justify-content: left;\n overflow: hidden;\n padding: 5px!important;\n height: auto!important;\n font-size: 14px;\n text-decoration: none!important;\n max-height: 87px;\n}.searchSuggestionsBlock .boxTitle{\n border:unset!important;\n justify-content:unset!important;\n}"),document.querySelectorAll(".searchSuggestionsBlock .boxTitle").forEach((e=>{e.innerText="Related Searches"}))};const i=()=>{try{e()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{e(),(0,a.se)(".searchBlockContent a.similar.color div{\n text-transform: capitalize!important;\n font-family:'robotobold';\n}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="inplaceSearchSuggestionsCapitaliseAndBold",d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},6345:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/search/,options:a.Fr&&document.querySelectorAll(".resultContainer").length>=8}],n=(0,a.DX)([]),t=(0,a.kQ)(["download"]);t.push({type:"click",name:"clickedResult",parentEl:".left",childEl:".resultContainer a",mod:5}),t.push({type:"click",name:"openedFilters",parentEl:"#search_container",childEl:".filterButton"}),t.push({type:"click",name:"clickedFirst8",parentEl:".left",childEl:".resultContainer:nth-of-type(-n+9) a"});const r=()=>{try{(0,a.se)(".resultContainer a.title{\n font-size:14px!important;\n}.resultContainer a.reviewLink .reviews strong{\n font-size:12px!important;\n}a.reviewLink {\n display: flex;\n flex-direction: row-reverse!important;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: flex-end;\n}#search_container .searchMain .left .resultContainer .stars {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding-left: 6px;\n}.resultContainer a.reviewLink .reviews {\n width: 18px!important;\n overflow-x: hidden;\n overflow-y: hidden;\n height: 20px;\n}#search_container .searchMain .left .resultContainer .reviewLink .reviews {\n padding-left: .3rem;\n font-size: .9rem;\n display: flex;\n align-items: center;\n}.left{\n margin-top:-12px!important;\n}body #search_container .searchMain .resultContainer .control a.title {\n margin: 5px 0!important;\n}#search_container .searchMain .left .resultContainer .reviewLink .reviews{\n padding-left:0px!important;\n}.search_results_found{\n padding-left:0px!important;\n}.search_results_found h1{\n font-size:12px!important;\n}#search_container .filterButton{\n height:2.5rem!important;\n}div#zenDeskLoadButton {\n display: none!important;\n}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="mobileSearchPageLayout",l={n:i,t:()=>c(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function c(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function d(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return c(e)||!!o&&o[null===(a=window.btoa(i))||void 0===a?void 0:a.replace(/=/g,"")]&&(c(n)||d(t))},codeToRun:()=>{c(e)?(0,a.Gc)((function(){o.A.init(l)})):(c(n)||d(t))&&(0,a.Hh)((function(){o.A.init(l)}))}}}catch(s){const u="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",s,window.location.pathname+"-"+u)}}},9337:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const i=window.dataLayer[0];var e=!1,n=!1,t=!1,r=!1;t=!1,/^\/search$/.test(location.pathname)&&i.user.loggedIn&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&(e=document.querySelector("#filters"))&&(n=e.querySelector("#filter-n"),r=e.querySelector("#filter-fa"),t=e.querySelector(".filterDivider.d-none"));const l=[{regex:/^\/search$/,options:!!r&&!!n}],c=(0,a.DX)(["funnel"]),d=(0,a.kQ)(["download"]);d.push({type:"change",name:"clickedAnyFilter",parentEl:"#filters",childEl:".filter input"}),d.push({type:"change",name:"clickedAgeFilterTop",parentEl:".block#filter-fa",childEl:".filter input "}),d.push({type:"change",name:"clickedAgeFilterSticky",parentEl:"#filters",childEl:".stickyDiv .filter input"}),d.push({type:"change",name:"clickedAgeFilterAny",parentEl:"#filters",childEl:"#filter-fa .filter input"}),d.push({type:"change",name:"clickedTypeFilter",parentEl:"#filter-ft",childEl:".filter input "}),d.push({type:"change",name:"clickedCountryFilter",parentEl:"#filters",childEl:"#filter-fco .filter input "}),d.push({type:"change",name:"clickedNewestFilter",parentEl:"#filters",childEl:"#filter-n .filter input",mod:5}),d.push({type:"click",name:"clickedResource",parentEl:".left",childEl:".resultContainer:not(.linked-container):not(.searchSuggestionsBlock)"});const s=()=>{try{r.insertAdjacentHTML("afterend",function(e){return`
    ${e.outerHTML}
    `}(n)),(0,a.se)(".filterNewestArea #filter-n{display:block!important}#filter-n .title{display:none}#filter-fa{margin-bottom:0px} ")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u="newestFilterPositionAges",p={n:u,t:()=>m(l),ttl:60,b:[{name:"original",weight:1,run:()=>{n.classList.remove("d-none"),t.classList.remove("d-none")}},{name:"variant",weight:1,run:s}],g:{u:c,e:d},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function m(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function h(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return m(l)||!!e&&e[null===(n=window.btoa(u))||void 0===n?void 0:n.replace(/=/g,"")]&&(m(c)||h(d))},codeToRun:()=>{m(l)?(0,a.Gc)((function(){o.A.init(p)})):(m(c)||h(d))&&(0,a.Hh)((function(){o.A.init(p)}))}}}catch(g){const y="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",g,window.location.pathname+"-"+y)}}},2920:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/search/,options:!a.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&location.search&&/q=free&|\+free\+|\+free$|free\+/i.test(location.search)&&!/sonic|Sonic the Hedgehog|Spider-man|Spiderman|Spider Man|Play-Doh|Play Doh|Playdoh|Numberblocks|CoCmelon|Scuderia Ferrari|Ferrari|Diary of a wimpy kid|Wimpy Kid|Puss in boots|Shrek|Wikki Stix|Little baby Bum/i.test(location.search)&&a.aC.lang.en&&document.querySelector("#header .free-trial")}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const i=()=>{try{window.location.href="/free-trial-landing"}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{window.location.href="/trial-free"}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant2-"+c)}},c="redirectFreeSearchToFreeTrialLandingRetestABC",d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i},{name:"variant2",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},5665:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const c=window.dataLayer[0];var e=document.getElementById("show-more-search-result-btn"),n=!1;if(a.xl&&/^\/search/.test(window.location.pathname)&&c.user.loggedIn&&/^244$|^247$|^246$|^245$/.test(c.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(c.user.language_id)&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&"isIntersecting"in window.IntersectionObserverEntry.prototype)var t=function(n){var t=n.querySelectorAll(".left .resultContainer"),o=document.createElement("div");o.className="matchingFewer",o.innerHTML='
    Related results matching fewer filters
    ',e.insertAdjacentElement("beforebegin",o),t.forEach((function(n){n.classList.add("fetchedResource"),e.insertAdjacentElement("beforebegin",n)})),document.fn.events.emit("loadedContent"),e.remove()},r=new IntersectionObserver((function(o,a){o.forEach((function(o){var a;o.isIntersecting&&n&&(a=e.querySelector("a").href,new Promise((function(e,n){fetch(a).then((function(e){return e.text()})).then((function(n){var t=(new DOMParser).parseFromString(n,"text/html");e(t)})).catch((function(e){n(e)}))}))).then(t).catch((e=>{}))}))}),{rootMargin:"200px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}),i=new MutationObserver((n=>{n.forEach((n=>{n.addedNodes&&n.addedNodes.forEach((n=>{var t,o;"show-more-search-result-btn"==n.id&&(i.disconnect(),e=document.getElementById("show-more-search-result-btn"),!localStorage._x||null!==(t=JSON.parse(null===(o=localStorage)||void 0===o?void 0:o._x))&&void 0!==t&&t[window.btoa(m).replace(/=/g,"")]||document.fn.events.emit("scrolledToShowMore"),e&&r.observe(e))}))}))}));var l={childList:!0,subtree:!0};e&&a.xl&&/^\/search/.test(window.location.pathname)&&c.user.loggedIn&&/^244$|^247$|^246$|^245$/.test(c.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(c.user.language_id)&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&"isIntersecting"in window.IntersectionObserverEntry.prototype?document.fn.events.emit("scrolledToShowMore"):!e&&a.xl&&/^\/search/.test(window.location.pathname)&&c.user.loggedIn&&/^244$|^247$|^246$|^245$/.test(c.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(c.user.language_id)&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&"isIntersecting"in window.IntersectionObserverEntry.prototype&&i.observe(document.body,l);const d=[{regex:/^\/search/,options:!!a.xl&&c.user.loggedIn&&/^244$|^247$|^246$|^245$/.test(c.user.country_id)&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(c.user.language_id)&&!!("IntersectionObserver"in window)&&!!("IntersectionObserverEntry"in window)&&!!("intersectionRatio"in window.IntersectionObserverEntry.prototype)&&!!("isIntersecting"in window.IntersectionObserverEntry.prototype)}],s=[],u=[],p=()=>{try{n=!0,e&&r.observe(e);var t=document.getElementById("filters");t&&t.addEventListener("click",(function(e){e.target.closest("#filters a#clearFilters, #filters div.filter, #filters select option")&&i.observe(document.body,l)})),(0,a.se)(".matchingFewer{display: flex; width: 100%; padding: 16px 16px 12px 16px; background: #f2f2f2; border-radius: 4px; margin: 0 10px 2rem 10px;}.matchingFewer svg{fill: #0075FF;}.fewerText{padding: 2px 0 0 8px;}#show-more-search-result-btn{opacity: 0;}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+m)}},m="searchAutoLoadShowMore",h={n:m,t:()=>g(d),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"searchAutoLoadShowMore",weight:1,run:p}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function g(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function y(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return g(d)||!!e&&e[null===(n=window.btoa(m))||void 0===n?void 0:n.replace(/=/g,"")]&&(g(s)||y(u))},codeToRun:()=>{var e,n;g(d)?localStorage._x&&null!==(e=JSON.parse(null===(n=localStorage)||void 0===n?void 0:n._x))&&void 0!==e&&e[window.btoa(m).replace(/=/g,"")]?o.A.init(h):document.fn.events.on("scrolledToShowMore",(()=>o.A.init(h))):(g(s)||y(u))&&(0,a.Hh)((function(){o.A.init(h)}))}}}catch(w){const f="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",w,window.location.pathname+"-"+f)}}},72:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const r=window.dataLayer[0];var e=!1,n=!1,t=!1;/^\/search$/.test(location.pathname)&&a.xl&&(t=document.querySelector("#filter-fa form"),e=document.querySelector(".order-0"),n=document.querySelector("#filters"),r.user.career_id);const i=[{regex:/^\/search$/,options:!!e&&!!n&&!!t}],l=[],c=(0,a.kQ)(["download"]);c.push({type:"change",name:"clickedAnyFilter",parentEl:"#filters",childEl:".filter input"}),c.push({type:"change",name:"clickedAgeFilterTop",parentEl:".block#filter-fa",childEl:".filter input "}),c.push({type:"change",name:"clickedAgeFilterSticky",parentEl:"#filters",childEl:".stickyDiv .filter input"}),c.push({type:"change",name:"clickedAgeFilterAny",parentEl:"#filter-fa",childEl:".filter input"}),c.push({type:"change",name:"clickedTypeFilter",parentEl:"#filter-ft",childEl:".filter input "});const d=()=>{try{e.insertAdjacentElement("beforebegin",n),e.remove();var o=document.createElement("div");o.className="stickyDiv col-12 ",o.innerHTML="
    \n
    Age Filters
    \n
    \n
    ",n.insertAdjacentElement("beforeend",o),(0,a.se)(".stickyDiv{position:sticky; top:140px}"),o.querySelector(".ageFilters").insertAdjacentElement("afterbegin",t.cloneNode(!0)),n.addEventListener("change",(function(e){if(e.target.closest(".filter")&&e.target.id){var t=e.target;n.querySelectorAll(`[id="${t.id}"]`).forEach((function(e){e.checked=0==!t.checked}))}}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+s)}},s="searchFilterAgeFilterSticky",u={n:s,t:()=>p(i),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:d}],g:{u:l,e:c},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function p(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function m(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return p(i)||!!e&&e[null===(n=window.btoa(s))||void 0===n?void 0:n.replace(/=/g,"")]&&(p(l)||m(c))},codeToRun:()=>{p(i)?(0,a.Gc)((function(){o.A.init(u)})):(p(l)||m(c))&&(0,a.Hh)((function(){o.A.init(u)}))}}}catch(h){const g="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",h,window.location.pathname+"-"+g)}}},8455:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];var e=document.getElementById("similarSearchesObserver");const n=[{regex:/^\/search/,options:a.Fr&&!!e}],t=(0,a.DX)(["funnel"]),r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedSearchResult",parentEl:"#search_container",childEl:".resultContainer:not(.linked-container):not(.searchSuggestionsBlock) a"}),r.push({type:"click",name:"clickedAnySimilarSearch",parentEl:"body",childEl:"a.similar"}),r.push({type:"click",name:"clickedSimilarSearch-Top",parentEl:"#similarSearchesObserver",childEl:"a.similar"}),r.push({type:"click",name:"clickedSimilarSearch-OnPage",parentEl:"#search_container",childEl:".searchBlockContent a.similar"}),r.push({type:"click",name:"openedFiltersTop",parentEl:"body",childEl:"#showFilters:not(.scrollBottom)"});const i=()=>{try{e.remove()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="searchMobileRemoveSimilar",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},8301:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const r=window.dataLayer[0];var e=document.querySelectorAll("a.similar"),n=document.querySelector(".similarSearches"),t=void 0;a.xl&&r.user.loggedIn&&/^\/search/.test(window.location.pathname)&&e&&e.length>0&&/^244$|^245$|^246$|^247$/.test(r.user.country_id)&&n.addEventListener("click",(function(e){var n;e.target.closest("a.similar")&&(e.preventDefault(),t=null===(n=e.target.closest("a.similar"))||void 0===n?void 0:n.getAttribute("href"),document.fn.events.emit("clickedSimilarCRO"))}));const i=[{regex:/^\/search/,options:a.xl&&r.user.loggedIn&&!!e&&e.length>0&&/^244$|^245$|^246$|^247$/.test(r.user.country_id)}],l=(0,a.DX)(["funnel"]);l.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),l.push({name:"clickedNextPageResourceWithoutFiltering",type:"pathname",regex:/^\/resource\//,options:!!document.referrer&&document.referrer.includes("from_similar"),mod:5}),l.push({name:"visitedResourcePage",type:"pathname",regex:/^\/resource\//,options:!0}),l.push({name:"visitedSearch",type:"pathname",regex:/^\/search/,options:!0});const c=(0,a.kQ)(["download"]);c.push({path:/^\/resource\//,type:"click",name:"downloadedResourceFromNextPageDirectly",parentEl:"body",childEl:"#actual_downloads a[data-download='yes']",options:!!document.referrer&&document.referrer.includes("from_similar")}),c.push({path:/^\/resource\//,type:"click",name:"clickedResourceCTAFromNextPageDirectly",parentEl:"body",childEl:"#actual_downloads a",options:!!document.referrer&&document.referrer.includes("from_similar")}),c[0].mod=20;const d=()=>{try{var e=t.concat("&","from_similar");window.location.href=e}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-original-"+u)}},s=()=>{try{var e=new URLSearchParams(location.search),n=new URLSearchParams(t.split("?")[1]);e.set("q",n.get("q")),n.get("fw")&&e.set("fw",n.get("fw")),n.get("vague")&&e.set("vague",n.get("vague")),e.set("from_similar","1"),window.location.href="/search?"+e.toString()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u="searchSimilarCopyFilters",p={n:u,t:()=>m(i),ttl:60,b:[{name:"original",weight:1,run:d},{name:"variant",weight:1,run:s}],g:{u:l,e:c},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:1}};function m(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function h(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return m(i)||!!e&&e[null===(n=window.btoa(u))||void 0===n?void 0:n.replace(/=/g,"")]&&(m(l)||h(c))},codeToRun:()=>{m(i)?document.fn.events.on("clickedSimilarCRO",(function(){o.A.init(p)})):(m(l)||h(c))&&(0,a.Hh)((function(){o.A.init(p)}))}}}catch(g){const y="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",g,window.location.pathname+"-"+y)}}},1964:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/search/,options:a.xl&&a.aC.country.uk&&a.aC.lang.en}],n=(0,a.DX)([]),t=(0,a.kQ)(["download"]);t.push({type:"click",name:"clickedResult",parentEl:".left",childEl:".resultContainer a",mod:10});const r=()=>{try{(0,a.se)(".imageContainer{\n overflow:hidden;\n }.imageContainer img{\n scale:1;\n transition:scale 0.5s;\n }.imageContainer img:hover{\n scale:1.1;\n box-shadow:none!important;\n }\n\n ")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="zoomOnHoverSearch",l={n:i,t:()=>c(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function c(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function d(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return c(e)||!!o&&o[null===(a=window.btoa(i))||void 0===a?void 0:a.replace(/=/g,"")]&&(c(n)||d(t))},codeToRun:()=>{c(e)?(0,a.Gc)((function(){o.A.init(l)})):(c(n)||d(t))&&(0,a.Hh)((function(){o.A.init(l)}))}}}catch(s){const u="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",s,window.location.pathname+"-"+u)}}},8451:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/trial-free$|^\/a-payment\/monthly|^\/free-trial-payment\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&(!!document.querySelector(".payMonthlyDiv")||!!document.querySelector(".freeTrial99Label"))&&o.xl&&o.aC.lang.en&&(o.aC.country.uk||/^37$|^103$|^154$|^12$|^226$/.test(e.user.country_id))}],t=(0,o.DX)(["funnel","upgrades","products","cancel"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const r=()=>{try{document.querySelectorAll(".then,#order_summary tbody").forEach((e=>{e.insertAdjacentHTML("afterend",'

    We\'ll remind you seven days before your trial ends.

    ')})),(0,o.se)("p.sevenDays {\n margin: 0;\n margin: 10px 10px;\n color: #5d8202;\n font-family: robotobold;\n }.payMonthlyDiv p.sevenDays {\n font-size: 12px;\n }")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+l)}},i=()=>{try{document.querySelectorAll(".then,#order_summary tbody").forEach((e=>{e.insertAdjacentHTML("afterend",'

    We\'ll remind you seven days before your trial ends.

    ')})),(0,o.se)("p.sevenDays {\n margin: 0;\n margin: 10px 10px;\n color: #5d8202;\n font-family: robotobold;\n }.payMonthlyDiv p.sevenDays {\n font-size: 12px;\n }")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l=o.aC.country.uk?"remindUsersIn23UK":"remindUsersIn23"+e.user.country_id,c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9941:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$|^\/a-payment\/monthly\//,options:a.xl&&!a.aC.member.schoolAccount&&n.user.loggedIn&&"free"==n.user.type&&a.aC.lang.en&&(a.aC.country.uk||/^226$|^154$|^12$/.test(n.user.country_id))}],r=(0,a.DX)(["funnel","upgrades","products"]);r.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),r.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),r.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),i.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const l=()=>{},c=()=>{try{document.querySelectorAll(".yearly .type, .monthly .type").forEach((e=>{e.innerHTML=e.innerHTML.replace("Ultimate","")})),/^\/a-payment\/monthly\//.test(location.pathname)&&document.querySelector(".freeTrial99Label")&&(document.querySelectorAll(".freeTrial99Label").forEach((e=>{e.innerText=e.innerText.replace("Ultimate","Unlimited Downloads")})),document.querySelector("#order_summary tr").innerHTML=document.querySelector("#order_summary tr").innerHTML.replace("Ultimate",""))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d=`removeUltimateWordingFromTrialFunnel${a.aC.country.uk?"UK":n.user.country_id}`,s={n:d,t:()=>u(t),ttl:60,b:[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],g:{u:r,e:i},o:{bucket:(e=n.user.twinklid,e%16<=7?0:1),testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function u(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function p(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return u(t)||!!e&&e[null===(n=window.btoa(d))||void 0===n?void 0:n.replace(/=/g,"")]&&(u(r)||p(i))},codeToRun:()=>{u(t)?(0,a.Gc)((function(){o.A.init(s)})):(u(r)||p(i))&&(0,a.Hh)((function(){o.A.init(s)}))}}}catch(m){const h="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",m,window.location.pathname+"-"+h)}var e}},1308:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/trial-free|^\/free-trial-payment/,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&document.querySelector(".seeOtherPlans")&&o.aC.country.uk&&o.aC.lang.en}],t=(0,o.DX)(["funnel","upgrades","products"]),a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedSeeMorePlans",parentEl:"body",childEl:".seeOtherPlans"});const r=()=>{try{document.querySelector(".seeOtherPlans").innerText="See paid plans"}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+l)}},i=()=>{try{document.querySelector(".seeOtherPlans").innerText="Paid plans"}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="SeePaidPlansToPaidPlansFreeTrialFunnel",c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4588:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/trial-free|^\/free-trial-payment/,options:!a.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&a.aC.lang.en}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]),i=()=>{},l=()=>{try{document.querySelector(".then")&&(document.querySelector(".payableAs").innerText="Paid Annually")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c=`showActualAnnualPriceOnPayment${a.aC.country.uk?"UK":e.user.country_id}`,d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},7413:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\//,options:/^\//.test(location.pathname)&&o.aC.country.uk&&o.aC.lang.en&&o.xl&&!/^110$/.test(n.career_id)&&!!document.querySelector('.menuTab>li>a[href="/ari-ai"]')}];if(t[0].options){var e=document.querySelector(".menuTab");e&&e.addEventListener("click",(e=>{var n,t=e.target.closest(".menuTab>li>a");t&&window.document.fn.events.emit("mmHeaderClickText",null===(n=t.innerText)||void 0===n?void 0:n.replace(/\s+/g,""))}))}const a=(0,o.DX)(["funnel","products"]);a.push({name:"visitedReadingComp",regex:/^\/ai-reading-comprehension-text-generator$/,options:!0},{name:"visitedImageGen",regex:/^\/ai-image-generator$/,options:!0},{name:"visitedReportWriter",regex:/^\/report-writer$/,options:!0},{name:"visitedQuizGen",regex:/^\/ai-quiz-generator$/,options:!0},{name:"visitedWordSearchGen",regex:/^\/ai-word-search-generator$/,options:!0},{name:"visitedCrosswordGen",regex:/^\/ai-crossword-generator$/,options:!0},{name:"visitedClozeGen",regex:/^\/ai-cloze-passage-generator$/,options:!0},{name:"visitedVocabGen",regex:/^\/ai-vocabulary-sheet-generator$/,options:!0},{name:"visitedLessonPlanner",regex:/^\/ai-lesson-planner-tool$/,options:!0},{name:"visitedAi",regex:/^\/ai$/,options:!0},{name:"visitedAriAi",regex:/^\/ari-ai$/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedAriTopMM",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"},{type:"click",name:"clickedAiDropdown",parentEl:".menuTab",childEl:'li>a[href="/ari-ai"]~ul a'},{type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"},{type:"on",on:"mmHeaderClickText",name:"clicked-",cb:function(e){let n={...this};return n.name+=e,n}});const i=()=>{try{var e=document.querySelector('.menuTab>li>a[href="/ari-ai"]');e&&e.insertAdjacentHTML("afterend",''),e&&(e.className="megaMenuArrowDown")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="aiMegamenuDropdown",c={n:l,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},651:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:!o.aC.member.schoolAccount&&"free"==e.user.type&&e.free_trial_six_months_test2>-1}],t=(0,o.DX)(["funnel","products"]),a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const r={n:"freeTrialAfterSixMonths-v2",tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:t,e:a},o:{bucket:e.free_trial_six_months_test2>-1?e.free_trial_six_months_test2:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(r),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},3025:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&document.querySelector("#header .free-trial")&&document.querySelector("#header .ultimateCTAContainer")&&(o.aC.country.uk||226==e.user.country_id)&&o.aC.lang.en&&o.xl}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedCtaHeader",parentEl:"#header .ultimateBubble",childEl:"a.tryUltimateB"}),a.push({type:"click",name:"clickedDownload",parentEl:"#header .ultimateBubble",childEl:"a.other-pay-options"}),a.push({type:"click",name:"clickedHeaderFreeTrialCTA",parentEl:"#header",childEl:"a.free-trial"}),a.push({type:"click",name:"clickedCtaHeader",parentEl:"#header .ultimateBubble",childEl:"a.headerContinue"});const r=()=>{},i=()=>{try{(0,o.se)(".freeTrialHeaderBackground {\n height: 260px;\n background-size: cover;\n border-radius: 7px;\n}.freeTrialHeaderPopUpContainer {\n padding: 5px;\n}.freeTrialHeaderContent {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 100%;\n gap:1rem;\n}.bgHeader {\n font-size: 1.6rem;\n color: white;\n text-align: center;\n width: 85%;\n font-family: robotobold;\n margin:0;\n}a.headerContinue.button.green.d-inline-block {\n padding: 10px 47px;\n box-shadow: 0px 15px 20px 5px rgb(0 0 0 / 32%), 0px 10px 15px -3px rgb(0 0 0 / 71%);\n}p.cancelanytime {\n margin: 0;\n color: #ffffffd6;\n font-size: 0.7rem;\n}.ultimateCTAContainer .ultimateBubble .menuHoverStay {\n top: -18px;\n}.ultimateCTAContainer .ultimateBubble {\n width: 450px;\n top: 53px;\n right: -105px;\n}"),document.querySelector(".ultimateBubble").innerHTML=`

    ${dataLayer[0].user.first_name?dataLayer[0].user.first_name+", w":"W"}e're giving you 30 days of unlimited downloads for FREE

    Continue

    Cancel any time.

    `,((e,n,t,a="src")=>{try{let o="string"==typeof t?document.querySelector(t):t;r=e,"src"===a?o.src=r:o.style.backgroundImage=`url('${r}')`;const i=new Image;i.onload=()=>{"src"===a?o.src=i.src:o.style.backgroundImage=`url('${i.src}')`},i.src=n}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant imageloader-"+l)}var r})("https://images.twinkl.co.uk/tr/raw/upload/u/ux/millionsresourcebg-lowres_ver_1.png","https://images.twinkl.co.uk/tr/raw/upload/u/ux/millionsresourcebg_ver_1.png",document.querySelector(".freeTrialHeaderBackground"),"background-image")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="headerCtaBgImageRetest-"+(o.aC.country.uk?"uk":"US"),c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c,(e=>{var n;return null===(n=document.querySelector("#header .ultimateCTAContainer"))||void 0===n?void 0:n.addEventListener("mouseover",e,{once:!0})})),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},738:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\//,options:!o.aC.member.schoolAccount&&n.user.loggedIn&&o.xl&&/^110$/.test(n.user.career_id)&&!!document.querySelector(".menuTab")}];if(t[0].options){var e=document.querySelector(".menuTab");e&&e.addEventListener("click",(e=>{var n=e.target.closest(".menuTab>li>a");if(n){var t=n.parentNode;window.document.fn.events.emit("mmHeaderClickParents",[...t.parentNode.children].indexOf(t))}}))}const a=(0,o.DX)(["funnel","products"]),r=(0,o.kQ)(["download"]),i=()=>{try{var e=document.querySelectorAll(".megaMenuArrowDown"),n=e[e.length-1].parentNode,t=n.nextElementSibling;e&&e.length&&t&&[...document.querySelectorAll(".menuTab>li>a")].some((e=>("/"!==e.getAttribute("href")&&-1==e.getAttribute("href").indexOf("recommendations")&&-1==e.className.indexOf("megaMenuArrowDown")&&e.parentNode&&t.insertAdjacentElement("beforebegin",e.parentNode),e.className.indexOf("megaMenuArrowDown")>-1)));var a=document.querySelector(".menuTab>li");[...document.querySelectorAll('.menuTab>li[title="Apps"],.menuTab>li[title="Digital Hub"]')].forEach((e=>{e&&n.insertAdjacentElement("beforebegin",e)}));var r=document.querySelector('.menuTab li[title="Parents"]');r&&a.insertAdjacentElement("afterend",r),(0,o.se)(".cd-panel__container{display:none;}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="megamenuParents",c={n:l,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},6784:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&/^328$/.test(e.user.career_id)}],t=(0,o.DX)(["funnel"]),a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedSupplyRoles",parentEl:".menuTab",childEl:".menuTab>li>a[href$='elevatesupplyjobpostings']"}),a.push({type:"click",name:"clickedMMTopNav",parentEl:".menuTab",childEl:".menuTab>li>a"});const r=()=>{try{(0,o.se)('.menuTab>li>a[href$="elevatesupplyjobpostings"]{font-weight:bold;}')}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="megaMenuSupplyBold-v2",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},364:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:!o.aC.member.schoolAccount&&e.canSeeAusPlanners<2&&e.user.loggedIn}],t=[],a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const r={n:"aus_planners_test",tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(r),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},8737:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:document.querySelector(".unrated-pop-up-div-container")&&o.aC.lang.en&&o.xl&&(o.aC.country.uk||226==e.user.country_id)}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),a.push({type:"click",name:"rateMyDownloadsClick",parentEl:".unrated-pop-up-div-container",childEl:"#unrated-popup-button"}),a.push({type:"click",name:"noThanksClick",parentEl:".unrated-pop-up-div-container",childEl:".no-thanks"}),a.push({type:"click",name:"dismissClick",parentEl:".unrated-pop-up-div-container",childEl:".dismiss"}),a.push({type:"click",name:"dismissClick",parentEl:"body",childEl:"#rating-popup .dismiss-button"}),a.push({type:"click",name:"dismissOrNoClick",parentEl:".unrated-pop-up-div-container",childEl:".no-thanks"}),a.push({type:"click",name:"dismissOrNoClick",parentEl:"body",childEl:"#rating-popup .dismiss-button"}),a.push({type:"click",name:"dismissOrNoClick",parentEl:".unrated-pop-up-div-container",childEl:".dismiss"}),a.push({type:"click",name:"ratedResource",parentEl:"body",childEl:".unrated-downloads .rateable>div",mod:3}),a.push({type:"click",name:"ratedResource",parentEl:"body",childEl:"#rating-popup .starOff",mod:3});const r=()=>{try{!function(){if(document.querySelector(".unrated-pop-up-div-container")){(0,o.se)("\n a#back-to-top {\n z-index: 10;\n }\n div#zenDeskLoadButton {\n display: none;\n }\n .unrated-pop-up-div-container {\n #unrated-pop-up-div {\n background-color: #f6f6f6;\n display: flex;\n flex-direction: column;\n width: fit-content;\n align-items: center;\n border-radius: 1.5rem;\n #unrated-popup-button {\n transition: all 300ms cubic-bezier(0, 0.51, 0.46, 0.99);\n text-decoration: none;\n padding: 5px 8px;\n width: 100%;\n height: 3em;\n border-radius: 5rem;\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n justify-content: center;\n font-size: 1.4em;\n margin-bottom: 1em;\n background: linear-gradient(9deg, rgba(20,28,0,1) 0%, rgba(93,130,0,0.4766281512605042) 95%), linear-gradient(0deg, rgba(20,28,0,1) 0%, rgba(93,130,0,1) 95%);\n box-shadow: 0px 26px 45px -24px #263500,-8px 26px 50px -26px #263500;\n }\n #unrated-popup-button:hover {\n background: linear-gradient(9deg, rgba(20,28,0,1) 0%, rgba(93,130,0,0.4766281512605042) 95%), linear-gradient(0deg, rgba(20,28,0,1) 25%, rgba(74,102,4,1) 100%);\n box-shadow: 0px -4px 19px -17px #263500,-8px 16px 28px -25px #263500;\n }\n .dismiss {\n display:none;\n }\n p {\n width: 16rem;\n color: #262626;\n }\n .row {\n .col-8.textCenter {\n display: none;\n }\n .col-4.textCenter.align-self-center {\n .no-thanks {\n color: #262626;\n width: max-content;\n font-weight: 600;\n }\n }\n }\n }\n }\n ");const e=document.querySelector(".unrated-pop-up-div-container a").cloneNode(!0);document.querySelector(".unrated-downloads-box").insertAdjacentElement("afterbegin",e)}}()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+c)}},i=()=>{try{var e;null===(e=document.querySelector(".unrated-pop-up-div-container"))||void 0===e||e.remove(),document.querySelector("body").insertAdjacentHTML("beforeend",'
    '),(0,o.se)("\n #rating-popup {\n position: fixed;\n bottom: 70px;\n right: 20px;\n width: 300px;\n background-color: white;\n border-radius: 16px;\n box-shadow: 0 4px 10px rgb(0 0 0 / 46%);\n font-family: Arial, sans-serif;\n padding: 30px;\n display: flex!important;\n flex-direction: column;\n align-items: center;\n align-content: center;\n justify-content: center;\n gap: 0.4rem;\n z-index: 1111111;\n}\n#rating-popup h1 {\n margin: 0;\n font-size: 24px;\n font-weight: bold;\n}\n#rating-popup h2 {\n margin: 10px 0;\n font-size: 0.8rem;\n font-weight: normal;\n color: #666;\n}\n#rating-popup img {\n max-width: 100%;\n border-radius: 8px;\n margin: 15px 0;\n border: 4px solid #FFD700;\n}\n#rating-popup p {\n margin: 0px;\n font-size: 16px;\n text-align:center;\n}\n#rating-popup .starRating {\n display: flex;\n justify-content: center;\n flex-direction: row-reverse;\n}\n#rating-popup span.starOff {\n height: 37px!important;\n width: 37px!important;\n background-image: url('https://images.twinkl.co.uk/tr/raw/upload/t/images/star_off_large.png');\n background-size: contain;\n background-repeat: no-repeat;\n cursor: pointer;\n}\n#rating-popup .starRating:hover span.starOff {\n background-image: url('https://images.twinkl.co.uk/tr/raw/upload/t/images/star_off_large.png');\n}\n#rating-popup .starRating span.starOff:hover,\n#rating-popup .starRating span.starOff:hover ~ span.starOff {\n background-image: url('https://images.twinkl.co.uk/tr/raw/upload/t/images/star_on_large.png');\n}\n#rating-popup span.starOff.active,\n#rating-popup span.starOff.active ~ span.starOff {\n background-image: url('https://images.twinkl.co.uk/tr/raw/upload/t/images/star_on_large.png');\n}\n#rating-popup .thank-you {\n display: none;\n text-align: center;\n}\n#rating-popup .dismiss-button {\n position: absolute;\n top: 10px;\n right: 10px;\n background: none;\n border: none;\n font-size: 20px;\n cursor: pointer;\n color: #666;\n}\n#rating-popup .dismiss-button:hover {\n color: #333;\n}\n"),fetch("https://www.twinkl.co.uk/php/ajax/getUnratedDownloadsPopup.php",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=getUnratedDownloadsPopup"}).then((e=>e.json())).then((e=>{if("success"===e.message){var n=document.createElement("div");n.innerHTML=e.html;var t=n.querySelectorAll(".row.m-b-1"),o=t[t.length-1],a=document.getElementById("rating-popup"),r=o.querySelector("img"),i=o.querySelector("h2").textContent,l=o.querySelector(".starRating").getAttribute("data-resource");a.innerHTML=`\n \n
    \n

    Rate your Download!

    \n

    ${i}

    \n ${i}\n

    Click stars to rate:

    \n
    \n \n \n \n \n \n
    \n
    \n
    \n

    Thank You!

    \n

    We appreciate your feedback.

    \n
    \n `,a.style.display="block",a.querySelectorAll(".starOff").forEach(((e,n)=>{e.addEventListener("click",(()=>{((e,n)=>{var t=Math.random();fetch(`https://www.twinkl.co.uk/php/ajax/submitComment.php?action=submitRatingWithoutComments&type=resource&item_id=${e}&sid=${t}&rating=${n}`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>e.json())).then((e=>{console.log("Rating submitted successfully:",e)})).catch((e=>{console.error("Error submitting rating:",e)}))})(l,5-n),a.querySelector(".rating-content").style.display="none",a.querySelector(".thank-you").style.display="block",setTimeout((()=>{document.querySelector("#rating-popup").remove()}),4e3)}))})),a.querySelector(".dismiss-button").addEventListener("click",(()=>{document.querySelector("#rating-popup").remove()}))}})).catch((e=>{console.error("Error:",e)}))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{var e;null===(e=document.querySelector(".unrated-pop-up-div-container"))||void 0===e||e.remove()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant2-"+c)}},c="rateMyDownloadsPopUpVsRateNow-"+(o.aC.country.uk?"uk":"us"),d={n:c,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i},{name:"variant2",weight:1,run:l}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},8025:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{window.dataLayer[0];var e=JSON.parse(sessionStorage.getItem("search:recent")),n=()=>{document.querySelector(".suggestions").addEventListener("click",(e=>{try{if(e.target.closest(".pr1-1>a")){var n,t=e.target.closest(".pr1-1"),o=[...t.parentNode.children].indexOf(t),a=null===(n=t.querySelector("a"))||void 0===n?void 0:n.getAttribute("data-id");document.fn.events.emit("clickedPrompt",{index:o,dataId:a})}}catch(e){}}))};const t=[{regex:/^\/ari-ai$/,options:!!e}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=[];r.push({type:"click",name:"clickedAnyPrompt",parentEl:".suggestions",childEl:"a"}),r.push({type:"on",on:"clickedPrompt",name:"clickedPromptPosition",cb:function(e){let n={...this};return n.name+=e.index,n}}),r.push({type:"on",on:"clickedPrompt",name:"clickedPromptId",cb:function(e){let n={...this};return n.name+=e.dataId,n}});const i=()=>{try{n();var e=document.querySelector(".suggestions"),t=JSON.parse(sessionStorage.getItem("search:recent")),a=e.querySelectorAll(".pr1-1");for(let n=t.length-1;n>=0;n--){var r=t[n].toLowerCase();if(!(r.length<3)){var i=new RegExp("\\b"+r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\b","i");for(let n=0;n{n()}},{name:"variant",weight:1,run:i}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5836:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n;const t=window.dataLayer[0],a=[{regex:/^\/cancel-membership\/products\//,options:!o.aC.member.schoolAccount&&t.user.loggedIn&&o.aC.lang.en&&o.aC.country.uk&&!(null===(e=t.user)||void 0===e||null===(e=e.subscription)||void 0===e||!e.offer_code)&&"99P-MONTHLY-ULTIMATE-OFFER-CODE-FREE"==(null===(n=t.user)||void 0===n||null===(n=n.subscription)||void 0===n?void 0:n.offer_code)}],r=(0,o.DX)(["funnel","upgrades","cancel"]),i=(0,o.kQ)(["download"]);i.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"});const l=()=>{try{var e=document.querySelector(".cancellation-main-container>.row.m-4>div.text-center.pb-2 h2:nth-child(2)");e&&(e.innerText="You will lose access immediately and will not be able to reactivate your free trial")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="cancelFreeProductCopy",d={n:c,tg:a,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:l}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5745:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n;const t=window.dataLayer[0],a=[{regex:/^\/resources\//,options:/^\/resources\//.test(location.pathname)&&document.body.classList.contains("default-category")&&!(null===(e=t.category_test)||void 0===e||!e.sub_category_ordering)&&t.user.loggedIn}],r=(0,o.DX)(["funnel"]);r.push({name:"resourcePageVisit",regex:/^\/resource\//,options:!0}),r.push({name:"signedUp",type:"search",regex:/signed_up/,options:!0}),r.push({name:"search",regex:/^\/search$/,options:!0});const i=[];i.push({type:"click",name:"Clicked1-8",parentEl:"#resources",childEl:"li:nth-child(n+1):nth-child(-n+8) a"}),i.push({type:"click",name:"clickedBreadcrumb",parentEl:".container",childEl:"div#breadcrumb"}),i.push({type:"click",name:"clickedResources",parentEl:"#resources",childEl:"a"}),i.push({type:"click",name:"clickedMM",parentEl:"#header",childEl:".menuTab a"});const l=()=>{},c=()=>{},d="categoryOrdering"+(o.Fr?"-mobile":"-desktop"),s=[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],u=null===(n=t.abTests)||void 0===n?void 0:n.sub_category_ordering,p={n:d,tg:a,ttl:60,b:s,g:{u:r,e:i},o:{bucket:(null==u?void 0:u.variantIndex)>-1?u.variantIndex:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(p),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9988:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resources\//,options:/^\/resources\//.test(location.pathname)&&!document.body.classList.contains("default-category")&&e.user.loggedIn}],t=(0,o.DX)(["funnel"]);t.push({name:"resourcePageVisit",regex:/^\/resource\//,options:!0}),t.push({name:"signedUp",type:"search",regex:/signed_up/,options:!0}),t.push({name:"search",regex:/^\/search$/,options:!0});const a=[];a.push({type:"click",name:"clickedInfinityResources",parentEl:"#more-resources-for-you",childEl:"a"}),a.push({type:"click",name:"clickedInPage",parentEl:".container",childEl:"a"}),a.push({type:"click",name:"clickedBreadcrumb",parentEl:".container",childEl:"div#breadcrumb"}),a.push({type:"click",name:"clickedResource",parentEl:"#resources",childEl:"a"}),a.push({type:"click",name:"clickedMM",parentEl:"#header",childEl:".menuTab a"});const r=()=>{},i=()=>{},l={n:"categoryTopResourceAA"+(o.Fr?"-mobile":"-desktop"),tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},3833:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\//,options:o.aC.lang.en&&/^244$/.test(e.user.country_id)&&0==e.user.twinklid&&document.querySelector('#header a[href="/resources/home-key-stage-1-subjects"]')&&document.querySelector('#header a[href="/resources/keystage2-ks2"]')}],t=(0,o.DX)(["funnel","upgrades","products","cancel"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"resourcePageVisit",regex:/^\/resource\//,options:!0}),t.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedCTAsAny",parentEl:".topCatPage",childEl:".subjects a"}),a.push({type:"click",name:"clickedCTAsAny",parentEl:".vb-page",childEl:"a"}),a.push({type:"click",name:"clickedBreadcrumb",parentEl:".topCatPage",childEl:"div#breadcrumb"});const r=()=>{},i=()=>{try{var e,n;const t=document.querySelector('#header a[href="/resources/home-key-stage-1-subjects"]'),o=(document.querySelector('#header a.subTitle[href="/resources/home-key-stage-1-subjects"]'),null===(e=document.querySelector('#header a.subTitle[href="/resources/home-key-stage-1-subjects"]'))||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.querySelectorAll("a")),a=document.querySelector('#header a[href="/resources/keystage2-ks2"]'),r=(document.querySelector('#header a.subTitle[href="/resources/keystage2-ks2/ks2-subjects"]'),null===(n=document.querySelector('#header a.subTitle[href="/resources/keystage2-ks2/ks2-subjects"]'))||void 0===n||null===(n=n.parentElement)||void 0===n?void 0:n.querySelectorAll("a")),i={science:"/subjects/science",geography:"/subjects/geography",history:"/subjects/history",languages:"/subjects/languages",pe:"/subjects/pe",music:"/subjects/music",computing:"/subjects/computing",art:"/subjects/art-and-design","pshce/rshe":"/subjects/pshe",re:"/subjects/re","design & technology":"/subjects/design-and-technology","design and technology":"/subjects/design-and-technology"},l=e=>{e.forEach((e=>{const n=e.textContent.trim().toLowerCase();i[n]&&"Subject"!=i[n]&&(e.href=i[n])}))};t&&a&&12==o.length&&12==r.length&&(l(o),l(r))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="categoryTopicLinksRedirect-eng"+(o.Fr?"-mobile":"-desktop"),c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9999:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n;const i=window.dataLayer[0];var t=null==i||null===(e=i.user)||void 0===e?void 0:e.country_id,a="NFL",r=!1;t&&(r=/^244$|^246$|^247$|^245$/.test(t)?"UK":t);const l=()=>{window.document.querySelector(".display-box").insertAdjacentHTML("afterend",'\n ');var e=document.getElementById("featured-list"),n=e.querySelector("#dashyWidget"),t=e.querySelector("span.dismiss"),l="https://images.twinkl.co.uk/tw1n/image/private/t_{width}";({UK:[{title:"Click here for free resources",img:l+"/u/ux/dashynfl_ver_1."+i.support.image,url:"/resources/twinkl-partnerships/nfl-uk"},{title:"NFL: Addition and Subtraction Mojimath Activity Sheet [Ages 9-11]",img:l+"/image_repo/85/34/t-m-1721891550-nfl-addition-and-subtraction-mojimath-activity-sheet-ages-9-11_ver_1."+i.support.image,url:"/resource/nfl-addition-and-subtraction-mojimath-activity-sheet-ages-9-11-t-m-1721891550"},{title:"NFL: SPaG Mystery - The Mystery of the Missing Jersey [Ages 7-8]",img:l+"/image_repo/15/17/t-e-1722521621-nfl-spag-mystery-the-mystery-of-the-missing-jersey-ages-7-8_ver_1."+i.support.image,url:"/resource/nfl-spag-mystery-the-mystery-of-the-missing-jersey-ages-7-8-t-e-1722521621"},{title:"NFL: A Different League – Resilience",img:l+"/image_repo/85/f9/t-lf-1724060432-nfl-a-different-league-resilience_ver_1."+i.support.image,url:"/resource/nfl-a-different-league-resilience-t-lf-1724060432"}]})[r].forEach((e=>{var t;n.innerHTML+=``})),t.addEventListener("click",(()=>{e.remove(),(0,o.n0)(`${a}Timer`,1,-1)})),document.fn.events.emit("loadedContent"),(0,o.v8)(`${a}Widget`)||((0,o.n0)(`${a}Widget`,1,30),(0,o.n0)(`${a}Timer`,1,2))},c=[{regex:/^\/$/,options:(!!(0,o.v8)(`${a}Widget`)&&!!(0,o.v8)(`${a}Timer`)||!(0,o.v8)(`${a}Widget`))&&i.user.loggedIn&&!(null===(n=i.support)||void 0===n||!n.image)&&o.xl&&!!t&&o.aC.country.uk&&/^22$|^23$|^47$|^110$|^107$|^109$/.test(i.user.career_id)&&new Date{try{l()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+p)}},p="dashyNfl",m={n:p,tg:c,ttl:60,b:[{name:"original",weight:1,run:()=>{try{l()}catch(e){}}},{name:"variant",weight:1,run:u}],g:{u:d,e:s},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(m),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7107:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const t=window.dataLayer[0],a=[{regex:/^\/$/,options:!o.aC.member.schoolAccount&&t.user.loggedIn&&"free"==t.user.type&&o.xl&&document.querySelector("#recentlyViewedList")&&screen.width>1150&&!!sessionStorage.getItem("search:recent")&&(null===(e=JSON.parse(sessionStorage.getItem("search:recent")))||void 0===e?void 0:e.length)>2}],r=(0,o.DX)(["funnel","upgrades","products"]);r.push({name:"landedOnSearch",regex:/^\/search/,options:!0});const i=(0,o.kQ)(["download"]);i.push({type:"click",name:"clickedPreviousSearch",parentEl:".previousSearches",childEl:"a.previousSearch"}),i.push({type:"click",name:"clickedPreviousSearchfFirst",parentEl:".previousSearches",childEl:"a.previousSearch:first-of-type"}),i.push({type:"click",name:"clickedPreviousSearchSecond",parentEl:".previousSearches",childEl:"a.previousSearch:nth-of-type(2)"}),i.push({type:"click",name:"clickedPreviousSearchfThird",parentEl:".previousSearches",childEl:"a.previousSearch:nth-of-type(3)"}),i.push({type:"click",name:"clickedPreviousSearchfFourth",parentEl:".previousSearches",childEl:"a.previousSearch:nth-of-type(4)"}),i.push({type:"click",name:"clickedPreviousBox",parentEl:"#recentlyViewedList",childEl:"a"}),i.push({type:"click",name:"clickedOnDashy",parentEl:"body",childEl:"a"}),i.push({type:"click",name:"clickedOnMembersWithaSimilarCareer",parentEl:"#dashy_similar_careers_box",childEl:"a"});var n=(e,n)=>{var t;n&&(null===(t=document.querySelectorAll("#recentlyViewedList .res-item")[3])||void 0===t||t.remove()),document.querySelector("#recentlyViewedList").insertAdjacentHTML(e,'

    Previous Searches:

    '),JSON.parse(sessionStorage["search:recent"]).forEach(((e,n)=>{n<3&&document.querySelector(".previousSearches").insertAdjacentHTML("beforeend",`year 3 summer maths

    ${e}

    `)})),(0,o.se)(".res-item.previousSearches {\n gap: 10px;\n display: flex;\n flex-direction: column;\n }a.previousSearch {\n padding: 10px;\n width: 100%;\n display: block;\n border: 2px solid #2399f99e!important;\n background: #2399f92b;\n color: black;\n border-radius: 10px;\n text-transform: capitalize;\n font-family: robotobold;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 10px;\n font-size:13px!important;\n }.previousSearch img {\n width: 22px;\n height: 22px;\n box-shadow: none!important;\n }p.previousSearchTitle {\n margin: 0;\n font-size: 15px;\n }a.previousSearch:hover {\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .36);\n }p.prevousSearchesText {\n font-family: robotobold;\n margin: 0!important;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }");var a="";document.querySelectorAll('#search_box input[type="hidden"]').forEach((e=>{e.name&&e.value&&(a+=`&${null==e?void 0:e.name}=${null==e?void 0:e.value}`)})),a&&document.querySelectorAll(".previousSearch").forEach((e=>{e.href+=a}))};const l=()=>{try{n("beforeend",!0)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+d)}},c=()=>{try{n("beforeend",!0)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="previousSearchesOnDashyFourthVsAboveRecentlyViewed",s={n:d,tg:a,ttl:60,b:[{name:"original",weight:1,run:l},{name:"variant",weight:1,run:c}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(s),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2143:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/$/,options:!o.aC.member.schoolAccount&&n.user.loggedIn&&o.xl&&!!document.querySelector("#dashy_recently_downloaded_box")&&!!document.querySelector(".display-box")&&document.querySelector("#dashy_recently_downloaded_box .recently-downloaded .starOff")&&o.aC.lang.en&&(o.aC.country.uk||226==n.user.country_id)}],a=(0,o.DX)(["funnel","upgrades","products"]),r=(0,o.kQ)(["download"]);r.push({type:"click",name:"leftReview",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded .starOn",mod:2}),r.push({type:"click",name:"Rated1",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded .starOn[data-star-rate='1']"}),r.push({type:"click",name:"Rated2",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded .starOn[data-star-rate='2']"}),r.push({type:"click",name:"Rated3",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded .starOn[data-star-rate='3']"}),r.push({type:"click",name:"Rated4",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded .starOn[data-star-rate='4']"}),r.push({type:"click",name:"Rated5",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded .starOn[data-star-rate='5']"}),r.push({type:"click",name:"clickedViewAllLink",parentEl:"#dashy_recently_downloaded_box",childEl:"span.viewAllLink a"}),r.push({type:"click",name:"clickedRecentlyDownloadedResource",parentEl:"#dashy_recently_downloaded_box",childEl:".recently-downloaded a"}),r.push({type:"click",name:"clickedDashy",parentEl:"body",childEl:"a"}),r.push({type:"click",name:"clickedRecentlyViewed",parentEl:"#recentlyViewedList",childEl:"a"}),r.push({type:"click",name:"clickedMembersWithASimilarCareer",parentEl:"#dashy_similar_careers_box",childEl:"a"}),r.push({type:"click",name:"clickedRecommendedForYou",parentEl:"#recommended-list-show",childEl:"a"});var e=()=>{let e=document.querySelector("#dashy_recently_downloaded_box");document.querySelector(".display-box").insertAdjacentElement("beforebegin",e),document.querySelectorAll("#dashy_recently_downloaded_box .recently-downloaded .starRating").forEach(((e,n)=>{let t=e.closest(".recently-downloaded");n?t.className+=" hidden upNext":t.classList.add("curr"),t.insertAdjacentHTML("afterbegin",'

    Rate your Download!

    '),t.querySelector(".reviewsTitle").insertAdjacentElement("beforeend",t.querySelector(".res-title"))})),document.querySelectorAll("#dashy_recently_downloaded_box .recently-downloaded").forEach((e=>{!e.querySelector(".starRating")&&e.classList.add("hidden")})),(0,o.se)(".recently-downloaded.curr {\n height: auto;\n padding: 20px;\n border-radius: 14px;\n box-shadow: 0 2px 6px 0 rgba(0,0,0,.2);\n display: flex;\n flex-direction: column;\n gap: 20px;\n}.recently-downloaded.rated {\n height: auto;\n padding: 20px;\n border-radius: 14px;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}.curr .rating .text-subtitle-grey{\n display:none;\n}.curr .ratingHolder{\n display: flex;\n justify-content: center;\n height: 37px;\n align-items: center;\n}.rating {\n height: 55px;\n}.reviewYourDownload{\n font-weight:700;\n margin:0; \n}.reviewsTitle {\n display: flex;\n flex-direction: column;\n gap: 1px;\n}.reviewsTitle span {\n color: grey!important;\n}#dashy_recently_downloaded_box .box-header{\n display:none;\n}"),document.querySelector("#dashy_recently_downloaded_box").addEventListener("click",(e=>{var n,t;console.log(e.target),e.target.closest(".curr .starOn")&&(null===(n=document.querySelector(".upNext"))||void 0===n||n.classList.remove("hidden"),document.querySelector(".curr").classList.add("rated"),document.querySelector(".curr").classList.toggle("curr"),null===(t=document.querySelector(".upNext"))||void 0===t||t.classList.toggle("curr"))})),(0,o.se)("p.reviewYourDownload {\n font-size: 1.4rem;\n}p.reviewYourDownload {\n font-size: 1.4rem;\n margin-bottom: 10px;\n}.recently-downloaded img {\n border-radius: 8px;\n}.directionToRate {\n text-align: center;\n margin-bottom: 10px;\n font-size: 0.9rem;\n}.recently-downloaded .rating {\n height: auto!important;\n}.recently-downloaded {\n padding:30px!important;\n gap: 30px!important;\n}"),document.querySelector(".recently-downloaded .starRating").insertAdjacentHTML("beforebegin",'
    Click stars to rate:
    ')};const i=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+c)}},l=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="recentlyDownlSwitchedOrderResetWithGoals-"+(o.aC.country.uk?"uk":"us"),d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},8126:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{window.dataLayer[0];const e=[{regex:/^\/free-trial-landing$/,options:!0}],n=(0,o.DX)(["funnel","products"]),t=(0,o.kQ)(["download"]),a=()=>{},r={n:"freeTrialLandingAA",tg:e,ttl:60,b:[{name:"original",weight:1,run:a},{name:"variant",weight:1,run:a}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(r),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},665:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var o=t(2766),a=(t(3702),t(6729)),r=t(5162),i=t(7226);const l=()=>{try{const e=window.dataLayer[0];let n,t,l;const c="freeTrialLandingUSPs-AUSNZ"+(o.Fr?"-mobile":"-desktop"),d=[{regex:/^\/free-trial-landing$/,options:!o.aC.member.schoolAccount&&o.aC.lang.en&&/^154$|^12$/.test(e.user.country_id)&&!!document.querySelector("#trial-offer")}];d[0].options&&((new Image).src="https://images.twinkl.co.uk/tr/raw/upload/u/ux/freetriallanding-hero-shine-1_ver_3.jpg",o.xl&&((new Image).src="https://images.twinkl.co.uk/tr/raw/upload/u/ux/quality-standard-approved_ver_1.svg"),n=document.querySelector(".simple-header #header"),t=document.querySelector(".whats-included"),l=document.querySelector("#trial-offer .included-items-container"));const s=(0,o.DX)(["funnel","upgrades","products"]);s.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const u=(0,o.kQ)(["download"]);u.push({type:"click",name:"mainCTAclick",parentEl:"#trial-offer",childEl:'a[href="/trial-free"]'}),u.push({type:"click",name:"secondaryCTAclickOnly",parentEl:"#trial-offer",childEl:"#popupSecondCta-hero"}),u.push({type:"click",name:"secondaryCTAclickOnly",parentEl:"#trial-offer",childEl:"#belowFoldCTADesktop-hero"}),u.push({type:"click",name:"headerLogoClick",parentEl:".simple-header",childEl:'a[href="/"]'});const p={n:c,tg:d,ttl:60,b:[{name:"original",weight:1,run:()=>{try{(0,r.A)(),(0,a.A)()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+c)}}},{name:"variant1",weight:1,run:()=>{try{(0,r.A)(),(0,a.A)(),(0,i.A)(1,l)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant1-"+c)}}}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(p),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4736:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var o=t(2766),a=t(5162),r=t(6729),i=t(3195),l=(t(3702),t(7226));const c=()=>{try{window.dataLayer[0];const e="freeTrialLandingUSPs-UK"+(o.Fr?"-mobile":"-desktop");let n,t,c;const d=[{regex:/^\/free-trial-landing$/,options:!o.aC.member.schoolAccount&&o.aC.lang.en&&o.aC.country.uk&&!!document.querySelector("#trial-offer")}];d[0].options&&((new Image).src="https://images.twinkl.co.uk/tr/raw/upload/u/ux/freetriallanding-hero-shine-1_ver_3.jpg",o.xl&&((new Image).src="https://images.twinkl.co.uk/tr/raw/upload/u/ux/quality-standard-approved_ver_1.svg"),n=document.querySelector(".simple-header #header"),t=document.querySelector(".whats-included"),c=document.querySelector("#trial-offer .included-items-container"));const s=(0,o.DX)(["funnel","upgrades","products"]);s.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const u=(0,o.kQ)(["download"]);u.push({type:"click",name:"mainCTAclick",parentEl:"#trial-offer",childEl:'a[href="/trial-free"]'}),u.push({type:"click",name:"secondaryCTAclickOnly",parentEl:"#trial-offer",childEl:"#popupSecondCta-hero"}),u.push({type:"click",name:"secondaryCTAclickOnly",parentEl:"#trial-offer",childEl:"#belowFoldCTADesktop-hero"}),u.push({type:"click",name:"headerLogoClick",parentEl:".simple-header",childEl:'a[href="/"]'}),u.push({type:"click",name:"trustBannerClick",parentEl:"#trial-offer",childEl:"#trustBannerParent"});const p={n:e,tg:d,ttl:60,b:[{name:"original",weight:1,run:()=>{try{(0,a.A)(),(0,r.A)(),(0,i.A)("box",t),(0,l.A)(0,c)}catch(n){(0,o.BI)("ABError",n,window.location.pathname+"-control-"+e)}}},{name:"variant1",weight:1,run:()=>{try{(0,a.A)(),(0,r.A)(),(0,i.A)("box",t),(0,l.A)(1,c)}catch(n){(0,o.BI)("ABError",n,window.location.pathname+"-variant1-"+e)}}}],g:{u:s,e:u},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(p),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4352:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var o=t(2766),a=(t(3702),t(6729)),r=t(5162),i=t(3195);function l(e){try{const a=document.querySelector(".mainTextParent-hero"),r=document.querySelector(".heading-panel.headingPanel-hero"),i=document.querySelector(".whats-included");if(a&&r&&i){var n,t;e?(n=[{name:"netflix",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/netflix-twinkl-partnerships_ver_1.png"},{name:"playdoh",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/play-doh-twinkl-partnerships_ver_1.png"},{name:"pepaPig",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/peppapig-twinkl-partnerships_ver_1.png"},{name:"nfl",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/national-football-league-logo.svg_ver_1.png"}],t="Official Partnerships"):(n=[{name:"netflix",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/netflix-twinkl-partnerships_ver_1.png"},{name:"playdoh",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/play-doh-twinkl-partnerships_ver_1.png"},{name:"pepaPig",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/peppapig-twinkl-partnerships_ver_1.png"},{name:"sega",img:"https://images.twinkl.co.uk/tw1n/image/private/t_630/u/ux/sega-twinkl-partnerships_ver_1.png"}],t="Official Partnerships");const a=`\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n

    ${t}

    \n
    `;i.insertAdjacentHTML("beforebegin",a),(0,o.se)("\n #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n box-shadow: 0 0 200px rgba(0,0,0,0.9) inset;\n overflow: clip;\n }\n .partnersElement {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-bottom: 2rem;\n .heroPartnersContainer {\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n align-content: center;\n align-items: center;\n justify-content: center;\n .logoContainer-hero {\n transition: all 100ms cubic-bezier(0, 0.51, 0.46, 0.99);\n max-width: 13rem;\n min-width: 7rem;\n max-height: 6rem;\n min-height: 100px;\n display: flex;\n justify-content: center;\n align-items: center;\n .logoImg-hero {\n max-height: inherit;\n }\n img#tp-palos {\n width: 60%;\n }\n img#tp-lebanon {\n width: 60%;\n }\n }\n }\n p.partnersText {\n font-weight: normal;\n color: #333333;\n font-size: 16px;\n margin-top: 1em;\n }\n }\n }\n .is-mobile-device {\n #trial-offer.trialOffer-hero {\n .heading-panel.headingPanel-hero {\n min-height: 75vh;\n .mainTextGrandParent-hero {\n .mainTextParent-hero {\n margin: 0;\n }\n }\n }\n .partnersElement {\n .heroPartnersContainer {\n .logoContainer-hero {\n transition: all 100ms cubic-bezier(0, 0.51, 0.46, 0.99);\n max-width: 9rem;\n min-width: 7rem;\n max-height: 6rem;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n }\n p.partnersText {\n font-weight: normal;\n color: gray;\n font-size: 14px;\n margin-top: 1em;\n }\n }\n } \n }\n .is-desktop-device {\n & #trial-offer.trialOffer-hero {\n & .heading-panel.headingPanel-hero {\n height: min-content;\n .mainTextGrandParent-hero {\n transition: all 100ms cubic-bezier(0, 0.51, 0.46, 0.99);\n min-width: 90%;\n flex-wrap: nowrap;\n flex-direction: column;\n display: flex;\n justify-content: flex-start;\n margin-top: 100px;\n height: min-content;\n gap: 2rem;\n .mainTextParent-hero {\n margin: 6em 0 4em 0;\n }\n } \n }\n } \n }\n ")}}catch(e){var a;(0,o.BI)("ABError",e,window.location.pathname+`freeTrialLandingHeroPartners${null===(a=dataLayer[0])||void 0===a||null===(a=a.user)||void 0===a?void 0:a.country_id}`)}}const c=()=>{try{const e=window.dataLayer[0],n="freeTrialLandingPartnerLogos-USA-v2"+(o.Fr?"-mobileIteration":"-desktop");let t,c,d;const s=[{regex:/^\/free-trial-landing$/,options:/^US/.test(e.geo)&&!o.aC.member.schoolAccount&&"paid"!==e.user.type&&o.aC.lang.en&&226==e.user.country_id&&"www.twinkl.com"==location.hostname&&!!document.querySelector("#trial-offer")}];s[0].options&&((new Image).src="https://images.twinkl.co.uk/tr/raw/upload/u/ux/freetriallanding-hero-shine-1_ver_3.jpg",o.xl&&((new Image).src="https://images.twinkl.co.uk/tr/raw/upload/u/ux/quality-standard-approved_ver_1.svg"),t=document.querySelector(".simple-header #header"),c=document.querySelector(".whats-included"),d=document.querySelector("#trial-offer .included-items-container"));const u=(0,o.DX)(["funnel","upgrades","products"]);u.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const p=(0,o.kQ)(["download"]);p.push({type:"click",name:"mainCTAclick",parentEl:"#trial-offer",childEl:'a[href="/trial-free"]'}),p.push({type:"click",name:"secondaryCTAclickOnly",parentEl:"#trial-offer",childEl:"#popupSecondCta-hero"}),p.push({type:"click",name:"secondaryCTAclickOnly",parentEl:"#trial-offer",childEl:"#belowFoldCTADesktop-hero"}),p.push({type:"click",name:"headerLogoClick",parentEl:".simple-header",childEl:'a[href="/"]'});const m={n,tg:s,ttl:60,b:[{name:"original",weight:1,run:()=>{try{(0,r.A)(),o.Fr&&l(!1),(0,a.A)(),(0,i.A)("box",c)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-control-"+n)}}},{name:"variant1",weight:1,run:()=>{try{(0,r.A)(),o.Fr&&l(!0),o.xl&&l(!1),(0,a.A)(),(0,i.A)("box",c)}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant1-"+n)}}}],g:{u,e:p},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(m),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9544:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const n="prospectHomeLandingAA",t=[{regex:/^\/$/,options:!window.dataLayer[0].user.twinklid}],a=(0,o.DX)(["funnel","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),a.push({name:"signInBeforeUp",type:"search",regex:/sign_in/,options:!(null!==(e=JSON.parse(localStorage.getItem("_x")))&&void 0!==e&&null!==(e=e[btoa(n).replace(/=/g,"")])&&void 0!==e&&null!==(e=e.g)&&void 0!==e&&e.c2lnbmVkLXVw)}),a.push({name:"signedUpFromHome",regex:/signed_up/,type:"search",options:/twinkl[A-Za-z.]+\/$/.test(document.referrer)}),a.push({name:"signedUp",regex:/signed_up/,type:"search",options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const i={n,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},507:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const n="prospectHomeLandingGoogleAA",t=[{regex:/^\/$/,options:!window.dataLayer[0].user.twinklid&&/^https:\/\/www\.google\./.test(document.referrer)}],a=(0,o.DX)(["funnel","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),a.push({name:"signInBeforeUp",type:"search",regex:/sign_in/,options:!(null!==(e=JSON.parse(localStorage.getItem("_x")))&&void 0!==e&&null!==(e=e[btoa(n).replace(/=/g,"")])&&void 0!==e&&null!==(e=e.g)&&void 0!==e&&e.c2lnbmVkLXVw)}),a.push({name:"signedUpFromHome",regex:/signed_up/,type:"search",options:/twinkl[A-Za-z.]+\/$/.test(document.referrer)}),a.push({name:"signedUp",regex:/signed_up/,type:"search",options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const i={n,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9361:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const n="prospectHomeLandingNullAA",t=[{regex:/^\/$/,options:!window.dataLayer[0].user.twinklid&&/^$/.test(document.referrer)}],a=(0,o.DX)(["funnel","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),a.push({name:"signInBeforeUp",type:"search",regex:/sign_in/,options:!(null!==(e=JSON.parse(localStorage.getItem("_x")))&&void 0!==e&&null!==(e=e[btoa(n).replace(/=/g,"")])&&void 0!==e&&null!==(e=e.g)&&void 0!==e&&e.c2lnbmVkLXVw)}),a.push({name:"signedUpFromHome",regex:/signed_up/,type:"search",options:/twinkl[A-Za-z.]+\/$/.test(document.referrer)}),a.push({name:"signedUp",regex:/signed_up/,type:"search",options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const i={n,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2924:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const n="prospectHomeLandingOtherAA",t=[{regex:/^\/$/,options:!window.dataLayer[0].user.twinklid&&!/^https:\/\/www\.google\.|^https:\/\/www.twinkl\.|^$/.test(document.referrer)}],a=(0,o.DX)(["funnel","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),a.push({name:"signInBeforeUp",type:"search",regex:/sign_in/,options:!(null!==(e=JSON.parse(localStorage.getItem("_x")))&&void 0!==e&&null!==(e=e[btoa(n).replace(/=/g,"")])&&void 0!==e&&null!==(e=e.g)&&void 0!==e&&e.c2lnbmVkLXVw)}),a.push({name:"signedUpFromHome",regex:/signed_up/,type:"search",options:/twinkl[A-Za-z.]+\/$/.test(document.referrer)}),a.push({name:"signedUp",regex:/signed_up/,type:"search",options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const i={n,tg:t,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9030:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{window.dataLayer[0];const e=[{regex:/^\/resources\/inclusion-teaching-resources$/,options:!!document.querySelector(".uspContainer")&&o.xl}],n=(0,o.DX)(["funnel","upgrades","products"]);n.push({name:"signed_up",type:"search",regex:/signed_up/,options:!0});const t=(0,o.kQ)(["download"]);t.push({type:"click",name:"mainGreenCta",parentEl:".CTAbuttons",childEl:"a"}),t.push({type:"click",name:"clickedDownloadTasterPack",parentEl:".col-6",childEl:"a.free-taster-pack-button"}),t.push({type:"click",name:"clickedDownloadTasterPack",parentEl:".col-6",childEl:"a.free-taster-pack-button"}),t.push({type:"click",name:"clickedCardLink",parentEl:".card",childEl:"a"});const a=()=>{try{var e;null===(e=document.querySelector(".uspContainer"))||void 0===e||e.remove(),(0,o.se)(".vb-widget.col-12 {padding-top: 5px;}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+r)}},r="inclusionRemoveUsps",i={n:r,tg:e,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:a}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},3455:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/trial-free|^\/free-trial-payment/,options:e.user.loggedIn&&"free"==e.user.type&&document.querySelector(".seeOtherPlans")&&document.querySelector(".price_container_row")&&!o.aC.lang.en&&document.querySelector(".then")&&e.translations&&e.annual_monthly_equivalent&&e.monthly_rolling_price}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedSeeOtherPlans",parentEl:"body",childEl:".seeOtherPlans"}),a.push({type:"click",name:"clickedSeeOtherPlans",parentEl:"body",childEl:".SeeOtherNewButton"}),a.push({type:"click",name:"clickedYearly",parentEl:"body",childEl:".yearly .button"}),a.push({type:"click",name:"clickedMonthly",parentEl:"body",childEl:".monthly .button"});const r=()=>{},i=()=>{try{var e,n;if(document.querySelector(".monthly .then")){var t,a=document.querySelector(".monthly .then").innerText.split(dataLayer[0].monthly_rolling_price.value)[1];null===(t=document.querySelector(".price_container_row"))||void 0===t||t.insertAdjacentHTML("beforeend",`
    \n
    \n\n
    Pay Now Plan
    \n\n
    \n
    \n Unlimited Downloads\n
    \n
    \n
    \n ${dataLayer[0].monthly_rolling_price.currency_symbol}${dataLayer[0].monthly_rolling_price.value}${a}
    \n \n
    No free trial period
    \n
    \n ${dataLayer[0].translations.pay_now}\n
    \n
    \n
    `)}(0,o.se)(".seeOtherPlans{\ndisplay:none;\n}.price_container_row {\ndisplay: flex;\njustify-content: center!important;\nalign-items: flex-end;\n}span.trialPriceAmount span {\nfont-size: 12px;\n}.payMonthlyDiv h2 {\ntext-align: center;\n}.ribbon-wrapper {\ndisplay: none;\n}a.green.button.largeButton.SeeOtherNewButton {\ncolor: #5d8200;\nborder: 2px solid #5d8200;\nbackground: white;\ntext-shadow: none;\n}a.green.button.largeButton.SeeOtherNewButton:hover {\nbackground: #5d8200;\ncolor: white;\nborder: 2px solid white;\ntext-shadow: 1px 1px 3px rgba(0,0,0,.4);\n}.paypalRedirect{\n display:none!important;\n }"),document.querySelector(".yearly .boxTitle").innerText&&document.querySelector(".monthly .boxTitle").innerText&&(document.querySelector(".yearly .boxTitle").innerText="30 Day Trial - Annual Plan",document.querySelector(".monthly .boxTitle").innerText="30 Day Trial - Monthly Plan"),document.querySelector(".then").innerText.match(/(.)(\d+\.\d+)|(\d+)/)[2],document.querySelectorAll(".then")[1].innerText,document.querySelector(".price_container_row").insertAdjacentElement("beforeend",document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0")[2].cloneNode(!0)),document.querySelector(".col-md-6.col-12.m-x-0.p-x-0").remove(),document.querySelector(".col-md-6.col-12.m-x-0.p-x-0 .boxTitle").innerText=dataLayer[0].translations.thirty_day_free_trial,document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0 .type").forEach((e=>e.remove())),document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0 .boxTitle")[1].innerText=`${dataLayer[0].translations.pay_now} - ${dataLayer[0].translations.annual}`,document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0 .boxTitle")[2].innerText=`${dataLayer[0].translations.pay_now} - ${dataLayer[0].translations.monthly}`,document.querySelector(".boxTitle").insertAdjacentHTML("beforebegin",`
    ${dataLayer[0].translations.new_to_twinkl_start_here}
    `),null===(e=document.querySelector(".then"))||void 0===e||e.remove(),null===(n=document.querySelector(".sevenDays"))||void 0===n||n.remove(),(0,o.se)(".payableAs{\n display:none!important;\n}.payMonthlyDiv .box .boxTitle.ultimate {\n border-bottom: 0!important;\n}.payMonthlyDiv .box .content {\n border-top: 0!important;\n}a.green.button.largeButton {\n width: 100%;\n margin-bottom: 25px;\n}.tickAndParaContainer {\n display: grid;\n grid-template-columns: 1fr 5fr;\n}p.para,p.membershipTitle {\n text-align: left;\n}.payMonthlyDiv h2 {\n margin-bottom: 40px!important;\n}.tickAndParaContainer {\n font-size: 14px;\n}.col-12.box.monthly {\n box-shadow: 1px 0px 13px 0 rgba(0,0,0,.2);\n}.panel_container .price_container_row {\n align-items: flex-start;\n}.payMonthlyDiv .box .content {\n background: white!important;\n}.payMonthlyDiv .box .boxTitle {\n background-color: white!important;\n}"),document.querySelectorAll(".trialPriceAmount")[1].innerHTML=`${dataLayer[0].annual_monthly_equivalent.currency_symbol}${dataLayer[0].annual_monthly_equivalent.value}${dataLayer[0].translations.monthly_annual_billing.split(`${dataLayer[0].annual_monthly_equivalent.currency_symbol}${dataLayer[0].annual_monthly_equivalent.value}`)[1]}`,document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0").forEach(((e,n)=>{e.querySelector(".green.button").insertAdjacentHTML("afterend",`
    \n

    ${dataLayer[0].translations.benefits}:

    \n
    \n ${0==n?'

    ':'

    '}

    ${dataLayer[0].translations.thirty_day_free_trial}

    \n ${1==n?`

    ${dataLayer[0].translations.annual_discount}

    `:""}\n

    ${dataLayer[0].translations.unlimited_downloads_sitewide}

    \n

    ${dataLayer[0].translations.access_to_1_000_000_plus_twinkl_resources}

    \n

    ${dataLayer[0].translations.twenty_four_seven_customer_support_team}

    \n

    ${dataLayer[0].translations.further_member_benefits}

    \n ${0==n?`

    ${dataLayer[0].translations.membership_activation_after_30_days}`:""}\n \n

    \n
    `)})),document.querySelector(".SeeOtherNewButton").href+="/yearly",document.querySelectorAll(".SeeOtherNewButton")[1].href+="/monthly"}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l=`decoyTestingNonEnglishLanguageTranslated-${e.user.country_id}-${o.xl?"desktop":"mobile"}`,c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7035:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/a-payment\/monthly\//,options:e.user.loggedIn&&!!document.querySelector("#order_summary table tr td.lineTop")&&!!document.getElementById("order_summary")&&o.aC.lang.en&&/^244$/.test(e.user.country_id)}],t=(0,o.DX)(["funnel","upgrades","products","cancel"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]),r=()=>{},i=()=>{try{document.querySelector("#order_summary table tr td.lineTop").innerHTML=`${dataLayer[0].email}`}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l=`payFinalEmail${o.xl?"-":"-mobile-"}${e.user.country_id}`,c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:e.user.twinklid%2,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},2479:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/payment$/,options:document.querySelector(".payMonthlyDiv .ultimate")}],n=(0,a.DX)(["funnel","products"]),t=[],r="paymentChoiceUltLoggerAA",i={n:r,t:()=>l(e),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};function l(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function c(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:o=>{var a;return l(e)||!!o&&o[null===(a=window.btoa(r))||void 0===a?void 0:a.replace(/=/g,"")]&&(l(n)||c(t))},codeToRun:()=>{l(e)?(0,a.Gc)((function(){o.A.init(i)})):(l(n)||c(t))&&(0,a.Hh)((function(){o.A.init(i)}))}}}catch(d){const s="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",d,window.location.pathname+"-"+s)}}},3409:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/trial-free|^\/free-trial-payment/,options:n.user.loggedIn&&"free"==n.user.type&&document.querySelector(".seeOtherPlans")&&document.querySelector(".price_container_row")&&o.aC.lang.en&&document.querySelector(".then")}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedSeeOtherPlans",parentEl:"body",childEl:".seeOtherPlans"}),r.push({type:"click",name:"clickedSeeOtherPlans",parentEl:"body",childEl:".SeeOtherNewButton"}),r.push({type:"click",name:"clickedYearly",parentEl:"body",childEl:".yearly .button"}),r.push({type:"click",name:"clickedMonthly",parentEl:"body",childEl:".monthly .button"});var e=()=>{var e,n,t,a=null===(e=document.querySelector(".monthly .then"))||void 0===e||null===(e=e.innerText)||void 0===e?void 0:e.split("then ");a&&(null===(n=document.querySelector(".price_container_row"))||void 0===n||n.insertAdjacentHTML("beforeend",`
    \n
    \n\n
    Pay Now Plan
    \n\n
    \n
    \n Unlimited Downloads\n
    \n
    \n
    \n ${null===(t=a[1])||void 0===t||null===(t=t.split("/month"))||void 0===t?void 0:t[0]}/month
    \n \n
    No free trial period
    \n
    \n Pay now\n
    \n
    \n
    `)),(0,o.se)(".seeOtherPlans{\ndisplay:none;\n}.price_container_row {\ndisplay: flex;\njustify-content: center!important;\nalign-items: flex-end;\n}span.trialPriceAmount span {\nfont-size: 12px;\n}.payMonthlyDiv h2 {\ntext-align: center;\n}.ribbon-wrapper {\ndisplay: none;\n}a.green.button.largeButton.SeeOtherNewButton {\ncolor: #5d8200;\nborder: 2px solid #5d8200;\nbackground: white;\ntext-shadow: none;\n}a.green.button.largeButton.SeeOtherNewButton:hover {\nbackground: #5d8200;\ncolor: white;\nborder: 2px solid white;\ntext-shadow: 1px 1px 3px rgba(0,0,0,.4);\n}.paypalRedirect{\n display:none!important;\n }p.para.gr {\n color: #5d8202;\n font-family: robotobold;\n}"),document.querySelector(".yearly .boxTitle").innerText&&document.querySelector(".monthly .boxTitle").innerText&&(document.querySelector(".yearly .boxTitle").innerText="30 Day Trial - Annual Plan",document.querySelector(".monthly .boxTitle").innerText="30 Day Trial - Monthly Plan")};const i=()=>{try{e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{e(),r=12*(a=document.querySelector(".then").innerText.match(/(.)(\d+\.\d+)|(\d+)/))[2],i=document.querySelectorAll(".then")[1].innerText,document.querySelector(".price_container_row").insertAdjacentElement("beforeend",document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0")[2].cloneNode(!0)),document.querySelector(".col-md-6.col-12.m-x-0.p-x-0").remove(),document.querySelector(".col-md-6.col-12.m-x-0.p-x-0 .boxTitle").innerText="30-Day FREE Trial",document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0 .type").forEach((e=>e.remove())),document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0 .boxTitle")[1].innerText="Pay Now - Annual",document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0 .boxTitle")[2].innerText="Pay Now - Monthly",document.querySelector(".boxTitle").insertAdjacentHTML("beforebegin",'
    New to Twinkl? Start here.
    '),null===(n=document.querySelector(".then"))||void 0===n||n.remove(),null===(t=document.querySelector(".sevenDays"))||void 0===t||t.remove(),(0,o.se)(".payableAs{\n display:none!important;\n}.payMonthlyDiv .box .boxTitle.ultimate {\n border-bottom: 0!important;\n}.payMonthlyDiv .box .content {\n border-top: 0!important;\n}a.green.button.largeButton {\n width: 100%;\n margin-bottom: 25px;\n}.tickAndParaContainer {\n display: grid;\n grid-template-columns: 1fr 5fr;\n}p.para,p.membershipTitle {\n text-align: left;\n}.payMonthlyDiv h2 {\n margin-bottom: 40px!important;\n}.tickAndParaContainer {\n font-size: 14px;\n}.col-12.box.monthly {\n box-shadow: 1px 0px 13px 0 rgba(0,0,0,.2);\n}.panel_container .price_container_row {\n align-items: flex-start;\n}.payMonthlyDiv .box .content {\n background: white!important;\n}.payMonthlyDiv .box .boxTitle {\n background-color: white!important;\n}"),document.querySelectorAll(".trialPriceAmount")[1].innerHTML=`${a[0]}/month, ${a[1]}${r} billed annually`,document.querySelectorAll(".col-md-6.col-12.m-x-0.p-x-0").forEach(((e,n)=>{e.querySelector(".green.button").insertAdjacentHTML("afterend",`
    \n

    Benefits:

    \n
    \n ${0==n?'

    30 Day FREE Trial

    Cancel trial anytime.

    ':'

    30 Day FREE Trial

    '}\n ${2==n?'

    Cancel anytime.

    ':""}\n ${1==n?'

    Annual Discount.

    ':""}\n

    Unlimited Downloads Sitewide.

    \n

    Access to 1,000,000+ Twinkl Resources.

    \n

    24/7 Customer Support Team

    \n

    Further member benefits.

    \n ${0==n?`

    Your membership will activate after 30 days ${i}.

    We'll remind you 7 days before your trial end date.

    `:""}\n \n
    \n
    `)})),document.querySelector(".SeeOtherNewButton").href+="/yearly",document.querySelectorAll(".SeeOtherNewButton")[1].href+="/monthly"}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}var n,t,a,r,i},c=o.aC.country.uk&&o.xl?"decoyTestingWithoutAnnualTrialRetest-UKDesktop":`decoyTestingWithoutAnnualTrialRetest-${n.user.country_id}-${o.xl?"desktop":"mobile"}`,d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},6289:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e,n,t;const a=window.dataLayer[0],r=[{regex:/^\/payment-history$/,options:o.aC.lang.en&&(o.aC.country.uk||/^226$|^12$|^37$|^154$/.test(a.user.country_id))&&a.user.loggedIn&&(null===(e=a.user)||void 0===e||null===(e=e.subscription)||void 0===e?void 0:e.offer_code)&&/99P-MONTHLY-ULTIMATE-OFFER-CODE-FREE/.test(null===(n=a.user)||void 0===n||null===(n=n.subscription)||void 0===n?void 0:n.offer_code)&&!(0,o.v8)("CancelPopUp4")&&!(null===(t=a.user)||void 0===t||null===(t=t.subscription)||void 0===t||!t.end_date)&&(()=>{const e=new Date(a.user.subscription.end_date),n=new Date(e.setDate(e.getDate()-7));return new Date{try{var e=document.querySelector('.current-membership a[href="/cancel-membership/options"]');e&&e.addEventListener("click",(e=>{if(!document.querySelector(".cancelPopUp")){e.preventDefault(),createCookie("CancelPopUp4",1,30),(0,o.se)(`\n .cancelPopUp {\n z-index: 100001;\nposition: ${o.xl?"absolute":"fixed"};\n display: flex;\n top: 50%;\n right: 50%;\n transform: translate(50%, -50%);\n width: 400px;\n flex-direction: column;\n align-items: center;\n padding: 1rem 2rem;\n border-radius: 1rem;\n background: #fff;\n .ctasCancelPopup {\n display: flex;\n justify-content: space-between;\n margin: 1rem 0;\n width: 100%;\n button {\n padding: .4rem 1rem;\n }\n .green-cta {\n background: #5d8200;\n color: #fff;\n }\n }\n \n }\n `),document.body.insertAdjacentHTML("beforeend",'
    \n

    Keep exploring!

    \n

    Get a friendly reminder email 7 days before your trial ends so you don\'t miss out on all the ultimate benefits!

    \n

    Please note: If you choose to cancel now, you will lose access immediately and will not be able to reactivate your trial.

    \n
    \n \n \n
    \n
    ');var n=document.querySelector(".cancelPopUp"),t=n.querySelector("p"),a=n.querySelector(".cancelAnyway"),r=document.getElementById("overlay"),i=n.querySelector(".sendEmail");r.style.display="block",r.addEventListener("click",(()=>{(0,o.se)(".cancelPopUp{display: none;}")})),a.addEventListener("click",(()=>{r.click()})),i.addEventListener("click",(e=>{"green-cta"==e.target.className?r.click():(t.innerHTML='We\'ll send you a reminder 7 days before your payment is due.

    View your dashboard',i.classList.remove("sendEmail"),i.innerText="Close",(0,o.se)(".cancelAnyway {display: none;}"))}))}}))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+d)}},d="paymentHistoryReminderPopup-v4-mobile",s={n:d,tg:r,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:c}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:o.xl?1:0}};return{shouldRun:(0,o.b3)(s),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},1888:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/premium-thanks/,options:n.user.loggedIn&&!!document.querySelector(".resource-suggestion")&&o.aC.country.uk&&o.aC.lang.en}],a=(0,o.DX)(["funnel","upgrades","products","cancel"]),r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedResource",parentEl:".premium-thanks",childEl:".resource-image a"}),r.push({type:"click",name:"clickedResource",parentEl:".premium-thanks",childEl:"a.resourceA"}),r.push({type:"click",name:"clickedResource",parentEl:".premium-thanks",childEl:".resource-suggestion a"}),r.push({type:"click",name:"clickedImg",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),r.push({path:/^\/resource\//,type:"click",name:"downloadedTheirResource",parentEl:"#actual_downloads",childEl:"a[data-download='yes']",options:location.search.includes("clickedThroughRes=true")});var e=()=>{var e;null!==(e=document.querySelector(".resource-image a"))&&void 0!==e&&e.href&&(document.querySelector(".resource-image a").href+="?clickedThroughRes=true")};const i=()=>{try{var n,t,a,r,i,l,d;null===(n=document.querySelector(".premium-thanks img"))||void 0===n||n.remove(),null===(t=document.querySelector(".col-lg-5.p-t-2"))||void 0===t||t.remove(),null===(a=document.querySelector(".sub-heading+p"))||void 0===a||a.remove(),null===(r=document.querySelector(".sub-heading"))||void 0===r||r.remove(),document.querySelector(".col-lg-7.p-t-2").className="p-t-2",null===(i=document.querySelector(".welcome-label"))||void 0===i||i.insertAdjacentElement("afterend",null===(l=document.querySelector(".resource-suggestion"))||void 0===l?void 0:l.parentNode),(0,o.se)(".col-md-12 {\n padding: 0;\n margin-bottom: 3rem;\n margin-top: 1rem;\n padding-bottom: 45px;\n}span.thanks-heading {\n font-family: robotobold!important;\n}.resource-image>a {\n gap: 10px;\n display: flex;\n flex-direction: column;\n}.resource-label label:hover{\n cursor:pointer;\n}.resource-image:hover img {\n box-shadow: 2px 0 12px #2399f9;\n border-radius: 3px;\n}.premium-thanks .resource-suggestion .resource-image, .premium-thanks .resource-suggestion img.rimage{height: unset;}"),null===(d=document.querySelector(".resource-image a"))||void 0===d||d.insertAdjacentElement("beforeend",document.querySelector(".resource-label")),document.querySelector(".sub-two-heading").innerText="Download your resource",e()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},l=()=>{try{var t,a;e(),document.querySelector(".premium-thanks").insertAdjacentHTML("afterbegin",`
    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n

    Done! Thanks for joining the Twinkl community${n.user.first_name?`, ${n.user.first_name}.`:"."}

    \n

    Your ${null!==(t=n.user)&&void 0!==t&&null!==(t=t.subscription)&&void 0!==t&&t.offer_code&&/99P-MONTHLY-ULTIMATE-OFFER-CODE-FREE/.test(null===(a=n.user)||void 0===a||null===(a=a.subscription)||void 0===a?void 0:a.offer_code)?"30 day free trial":"subscription"} starts now. We can't wait to show you all the ways we can support you.

    \n
    \n

    Download your first resource

    \n\n
    \n
    `),(0,o.se)(".premiumThanksSection1, .premiumThanksSection2 {\n padding: 30px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n}.premiumThanksSection2 {\n background: #F1FAFF;\n}.premiumThanksSection1 h1 {\n font-family: 'robotobold';\n text-align: center;\n}.premiumThanksSection1 p {\n text-align: center;\n margin: 0;\n}.premiumThanksSection2 h2 {\n font-family: robotobold;\n text-align: center;\n}a.resourceA {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 1.5rem;\n}img.rimage {\n max-width: 370px;\n}button.dl {\n width: 250px;\n height: 43px;\n border-radius: 5px;\n background: #5D8200;\n}.resourceRight {\n display: flex;\n flex-direction: column;\n height: 100%;\n gap: 20px;\n}.row {\n display: flex;\n justify-content: center;\n}.row p{\n text-align:center;\n}.premiumThanksSection3 {\n height: 100px;\n width: 200px;\n content: '';\n color: white;\n}"),document.querySelector(".resourceA").href=document.querySelector(".resource-image a").href,document.querySelector(".resourceLeft").insertAdjacentElement("afterbegin",document.querySelector(".resource-image img")),document.querySelector(".resourceRight").insertAdjacentElement("afterbegin",document.querySelector(".resource-label")),document.querySelectorAll(".thanks-heading,.welcome-label,.sub-heading + p,.sub-heading,.col-lg-5.p-t-2,.sub-two-heading,.planners").forEach((e=>{e.remove()})),o.Fr&&(0,o.se)("\n a.resourceA {\n flex-direction: column!important;\ngap:0!important;\n }.resource-label {\n display: flex;\n flex-direction: column;\n align-items: center;\n}img.rimage {\n max-width: 100%!important;\n padding: unset!important;\n margin-bottom: 10px;\n}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant2-"+c)}},c="premiumThanksBC-"+(o.Fr?"mobile":"desktop"),d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},527:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=window.document.querySelector("#resourceMl"),t=[{regex:/^\/resource\//,options:e.user.loggedIn&&!!e.sideBarTestDataUsed&&!!n}],a=[],r=[];r.push({type:"click",name:"clickedDownloadCTA",parentEl:'#download_link[data-download="no"]',childEl:"a"},{type:"click",name:"clickedDownload",parentEl:'#download_link[data-download="yes"]',childEl:"a"},{type:"click",name:"clickedML",parentEl:".what-are-members-downloading-now",childEl:"a"});const i=()=>{},l={n:"sideBarRecommendations20241030",tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"test_id_1",weight:1,run:i},{name:"test_id_2",weight:1,run:i},{name:"test_id_3",weight:1,run:i},{name:"test_id_4",weight:1,run:i}],g:{u:a,e:r},o:{bucket:-1,testing:!1,fnDataApi:"ga",encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7142:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(2766),a=t(3528);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/search$/,options:/^\/search$/.test(location.pathname)&&/^244$/.test(e.user.country_id)}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"searchNoResults",regex:/^\/search$/,options:!!document.querySelector("#noResults")});const r=(0,o.kQ)(["download"]);r.push(...a.A);const i=()=>{var e;null===(e=document.querySelector("#filters"))||void 0===e||e.addEventListener("click",(e=>{try{var n=e.target.closest(".filter");if(n){var t,o=null==n||null===(t=n.closest(".area"))||void 0===t?void 0:t.querySelector(".title").innerText;o&&document.fn.events.emit("clickedFilters",o.replace(/\s/g,""))}}catch(e){}}))},l={n:"searchAutoFilterEngland",tg:n,ttl:60,b:[{name:"original",weight:1,run:i},{name:"srch_590_auto_filter_england",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,population:100,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5645:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(2766),a=t(3528);const r=()=>{try{window.dataLayer[0];const e=[{regex:/^\/search$/,options:!0}],n=[],t=(0,o.kQ)(["download"]);t.push(...a.A);const r=()=>{},i={n:"searchEngagementGrouping20241018",tg:e,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:r}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(i),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4072:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!!e.user.twinklid&&"free"==e.user.type&&e.user.loggedIn&&a.Fr&&document.querySelector('#actual_downloads #download_link[data-download="no"]')&&!!document.querySelector(".flag")&&a.aC.lang.en&&/^244$|^226$/.test(e.user.country_id)}],t=(0,a.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"paymentTrial",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payment",regex:/^\/trial$|^\/free-trial-payment\/|^\/trial-free$/,options:!!document.querySelector(".payMonthlyDiv")}),t.push({name:"payFinalOffer",regex:/^\/a-payment\/monthly\//,options:!!document.querySelector(".freeTrial99Label")});const r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedCTA",parentEl:"#actual_downloads",childEl:"a"});const i=()=>{},l=()=>{try{(0,a.se)(".flag span {\n font-size: 13px;\n }.flag{\n display: flex!important;\n flex-direction: column;\n font-size:23px!important;\n align-items: center;\n justify-content: center;\n padding-top: 8px!important;\n padding-bottom: 6px!important;\n }"),document.querySelector(".flag").innerHTML="30 day trialFREE!",fetch("/csrf/generate/free_trial_free").then((e=>e.text())).then((e=>{document.querySelectorAll("#actual_downloads a").forEach((n=>{n.href&&e&&(n.href=`/free-trial-payment/${e}/split/free`)}))}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="99trialMobileRetesttt"+(/^226/.test(e.user.country_id)?"US":"UK"),d={n:c,t:()=>s(n),ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:t,e:r},o:{bucket:e.user.twinklid%2,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return s(n)||!!e&&e[null===(o=window.btoa(c))||void 0===o?void 0:o.replace(/=/g,"")]&&(s(t)||u(r))},codeToRun:()=>{s(n)?(0,a.Gc)((function(){o.A.init(d)})):(s(t)||u(r))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},17:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type}],t=(0,o.DX)(["funnel","products"]),a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const r={n:"aaResourceFreeUsers",tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(r),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4167:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const n=window.dataLayer[0],t=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&!!document.querySelector("#average_rating")&&o.xl&&(/^US/.test(n.geo)&&"226"==n.user.country_id||o.aC.country.uk)&&o.aC.lang.en&&!!document.querySelector("#average_rating .starRating .starOn")}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const r=(0,o.kQ)(["download"]);var e=5;const i=()=>{},l=()=>{try{let i=document.querySelectorAll("#average_rating .starRating .starOn").length;document.querySelector("#actual_downloads a[data-download]").dataset.numStars=i,r=(e=>{const n=e,t=null===JSON||void 0===JSON?void 0:JSON.parse(n);let o=0,a=0;for(const e in t){const n=t[e];o+=e*n,a+=n}return(0===a?0:o/a).toFixed(1)})(null===(n=document.querySelector("review-summary"))||void 0===n?void 0:n.getAttribute("summary")),e=r,null===(t=document.querySelector(".return-resource-average-rating"))||void 0===t||t.insertAdjacentHTML("afterbegin",`

    ${r}

    `),(0,o.se)("#resource .ratings-link {\n margin-left: 0px!important;\n gap: 10px!important;\n display: flex;\n }body #resourceMain .starRating .starOff, body #resourceMain .starRating .starOn {\n width: 1.7rem!important;\n height: 1.7rem!important;\n }p.averageRatingPara {\n margin: 0;\n font-family: robotobold;\n }div#average_rating {\n gap: 10px;\n margin-bottom:0px!important;\n }img.chevronDown {\n width: 15%;\n }"),null===(a=document.querySelector(".reviewWrapper"))||void 0===a||a.insertAdjacentHTML("afterbegin",'
    '),(0,o.se)(".reviewWrapper{position:relative}#stReviews{position:absolute;top:-250px}"),document.querySelector(".ratings-link")&&(document.querySelector(".ratings-link").href="#stReviews"),(0,o.se)(" #star-ratingNew {\n display: flex;\n}\n.star {\n width: 30px;\n height: 30px;\n position: relative;\n}\n.popUpRatings .star {\n width: 20px;\n height: 20px;\n position: relative;\n}\n.star svg {\n width: 100%;\n height: 100%;\n}"),document.querySelector(".starRating").insertAdjacentHTML("afterend",'
    ');const l='',c='',s='';function u(e,n=5){for(let t=0;t{e.innerHTML=n{document.querySelector("#average_rating").addEventListener("mouseover",(n=>{n.preventDefault();const t=document.querySelector(".popUpAverageRating"),o=document.querySelector(".popUpRatings"),a=`

    ${e} out of 5

    `;t&&o&&e&&(t.innerHTML=a,document.querySelector(".seeAllReviewsLink").href="#stReviews")}),{once:!0})}))}catch(h){(0,o.BI)("ABError",h,window.location.pathname+"-variant-"+d)}var n,t,a,r},c=()=>{},d="jonnyTesting-averageStarRatingResourceRetest"+(o.aC.country.uk?"UK":"US"),s={n:d,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l},{name:"variant2",weight:1,run:c}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(s),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},7400:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a}),t(5133);var o=t(2766);const a=()=>{try{var e,n;const i=window.dataLayer[0];var t=!1;const l=[{regex:/^\/resource\//,options:i.user.loggedIn&&o.xl&&o.aC.country.uk&&/^1$|^11$|^12$|^25$|^136$|^159$|^161$/.test(null===(e=i.user)||void 0===e?void 0:e.language_id)&&/^23$|^11$|^481$|^28$/.test(null===(n=i.user)||void 0===n?void 0:n.career_id)&&(a=document.querySelector("#actual_downloads"),r=null==a?void 0:a.getAttribute("data-resource-id"),r&&(t=/^1$/.test(r%2)),t)}],c=(0,o.DX)(["funnel","upgrades","products"]);c.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const d=(0,o.kQ)(["download"]);d.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),d.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),d.push({type:"click",name:"clickedResourceInOverlay",parentEl:"#resource",childEl:".res-container"}),d.push({type:"click",name:"clickedSomethingOnOverlay",parentEl:"#resource",childEl:"#resources_overlay"}),d.push({type:"click",name:"clickedMLCoulumn",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now a "}),d.push({type:"click",name:"clickedEducakeLink",parentEl:"#resource",childEl:".educake "});const s=()=>{try{var e,n=null===(e=[...document.querySelectorAll("#resources_overlay .res-container")])||void 0===e||null===(e=e.slice(-1))||void 0===e?void 0:e[0];n&&(n.innerHTML="\n Educake Logo\n ")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u="resourcePostDownloadEducakeNew",p={n:u,tg:l,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:s}],g:{u:c,e:d},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(p,(e=>document.fn.events.on("download",e))),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}var a,r}},6261:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});var o=t(869),a=t(2766),r=t(8633);const i=()=>{try{var e;const n=window.dataLayer[0],t=[{regex:/^\/resource\//,options:!n.user.twinklid&&!!document.querySelector("#average_rating")&&a.aC.lang.en&&(/^US/.test(n.geo)&&"226"==n.user.country_id||"244"==n.user.country_id)&&!(null===(e=n.resource)||void 0===e||!e.age_profile)}],i=(0,a.DX)(["funnel","products","cancel"]);i.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),i.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),l.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),l.push({type:"click",name:"clickedDownloadAfterDistribution",parentEl:"#actual_downloads",childEl:"a[data-download='yes'].openedDistribution"}),l.push({type:"click",name:"clickedLogInCTAAfterDistribution",parentEl:"#actual_downloads",childEl:"a[data-download='no'].openedDistribution"}),l.push({type:"click",name:"clickedStars",parentEl:"#resource",childEl:"#average_rating"}),l.push({type:"mouseover",name:"hoveredOverReviews",parentEl:"#resource",childEl:"#average_rating",mod:5}),l.push({type:"mouseover",name:"hoveredOverMostlyUsedWith",parentEl:"#resource",childEl:".mostUsedWithText",mod:5}),l.push({type:"click",name:"clickedMostlyUsedWith",parentEl:"#resource",childEl:".mostUsedWithText",mod:5}),l.push({type:"mouseover",name:"hoveredOverMostlyUsedWith-bottom",parentEl:"#resource",childEl:"#resourceDataParent .mostUsedWithText",mod:5}),l.push({type:"click",name:"clickedMostlyUsedWith-bottom",parentEl:"#resource",childEl:"#resourceDataParent .mostUsedWithText",mod:5}),l.push({type:"mouseover",name:"hoveredOverMostlyUsedWith-top",parentEl:".avg-rating-wrapper",childEl:".mostUsedWithText",mod:5}),l.push({type:"click",name:"clickedMostlyUsedWith-top",parentEl:".avg-rating-wrapper",childEl:".mostUsedWithText",mod:3}),l.push({type:"click",name:"clickedSeeAllReviewsLink",parentEl:"#resource",childEl:".seeAllReviewsLink"}),l.push({type:"click",name:"clickedRatingsLink",parentEl:"#resource",childEl:".ratings-link"}),document.querySelector("#download_link[data-download='yes']")?(l.push({type:"click",name:"clickedAltTags-paid",parentEl:"body",childEl:"#resData-altVersionsParent a, .alt-summary > span"}),l.push({type:"click",name:"clickedAlternativeVersions",parentEl:".altFilemanager",childEl:"a"})):l.push({type:"click",name:"clickedAltTags-notPaid",parentEl:"body",childEl:"#resData-altVersionsParent a, .alt-summary > span"}),l.push({type:"click",name:"clickedUSAStandardAtag",parentEl:"body",childEl:"#resData-usaStandardsParent a, #resData-usaStandardsMidParent a, .standardContainer a"}),l.push({type:"click",name:"clickedMLColumn",parentEl:"#mlResources",childEl:".what-are-members-downloading-now"});const c=()=>{},d=()=>{try{(0,o.A)(),a.xl?(0,r.A)(!1):(0,r.A)(!0)}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+s)}},s=`resourceExtraInfo-prospects-reset${a.aC.country.uk?"-England"+(/^110$/.test(n.user.career_id)?"-parent":""):"-US"}${a.Fr?"-mobile":"-desktop"}`,u={n:s,tg:t,ttl:60,b:[{name:"original",weight:1,run:c},{name:"variant",weight:1,run:d}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,a.b3)(u),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",e,window.location.pathname+"-"+n)}}},2393:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{var e;const n=window.dataLayer[0],t=[{regex:/^\/resource\//,options:!o.aC.member.schoolAccount&&0==n.user.twinklid&&226==n.user.country_id&&/^US/.test(n.geo)&&"Free Download"==(null===(e=document.querySelector('#actual_downloads #download_link[data-download="no"]'))||void 0===e?void 0:e.innerText)}],a=(0,o.DX)(["funnel","upgrades","products"]);a.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),a.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const r=(0,o.kQ)(["download"]);r.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),r.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const i=()=>{},l=()=>{try{const e=document.querySelector('#actual_downloads #download_link[data-download="no"]');if("Free Download"==e.innerText){const n=Object.assign(document.createElement("p"),{title:"No credit card required",id:"noCardReqEl",innerText:"✓ No credit card required"}),t=Object.assign(document.createElement("div"),{id:"noCardDiv"});t.appendChild(n),e.insertAdjacentElement("afterend",t),(0,o.se)("\n #noCardDiv {\n position: relative;\n z-index: -1;\n #noCardReqEl {\n text-align: center;\n margin-bottom: 0;\n transform: translateY(0.5em);\n position: relative;\n z-index: -1;\n }\n }\n ")}}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="noCreditCardRequiredResourceUSA"+(o.Fr?"-mobile":"-desktop"),d={n:c,tg:t,ttl:60,b:[{name:"original",weight:1,run:i},{name:"variant",weight:1,run:l}],g:{u:a,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(d),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},3072:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{const n=window.dataLayer[0];document.fn.events.on("ajaxComplete",(e=>{/submitComment\.php\?comment.*rating=5|submitComment\.php\?comment.*rating=4/.test(e.responseURL)&&document.fn.events.emit("refferalclicked")}));var e=document.querySelector("#share-twinkl-altruism");const t=[{regex:/^\/resource\//,options:!a.aC.member.schoolAccount&&!!e&&a.xl&&n.user.loggedIn&&"paid"==n.user.type&&document.querySelector("#share-twinkl-altruism")&&"www.twinkl.com"==window.location.hostname&&/^US_/.test(n.geo)&&/^226$/.test(n.user.country_id)&&/^1$|^11$|^12$|^25$/.test(n.user.language_id)}],r=(0,a.DX)(["funnel","upgrades","products"]);r.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const i=(0,a.kQ)(["download"]);i.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),i.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),i.push({type:"click",name:"clickedCTAinHeader",parentEl:"#header",childEl:"#share-twinkl-altruism"}),i.push({type:"click",name:"sentGift",parentEl:"body",childEl:"#share-twinkl-altruism-pop-container button.green"}),i.push({type:"click",name:"clickedNotNow",parentEl:"body",childEl:"#share-twinkl-altruism-pop-container .buttons button#notNow"}),i.push({type:"click",name:"clickedSendAnother",parentEl:"body",childEl:"#share-twinkl-altruism-pop-container .buttons button#sendAnotherGift"}),i.push({type:"click",name:"clickedCTAinOverlay",parentEl:"body",childEl:".reviewOverlay #share-twinkl-altruism "}),i.push({type:"click",name:"clickedContinueFromStarRating",parentEl:"body",childEl:".myConatiner .continue "}),i.push({type:"click",name:"clickedCloseStarRatingOverlay",parentEl:"body",childEl:".myConatiner .myClose "}),i.push({type:"click",name:"clickedMLSidebar",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now "});const l=()=>{try{setTimeout((function(){var n=document.querySelector("#review-submitted .modal-contents");if(n){n.innerHTML='
    \n

    \n

    X
    \n Thanks for submitting your rating!

    \n
    \n

    Enjoyed this resource? Let a friend download it!

    \n

    Give 1 month of Twinkl Ultimate to someone who doesn\'t currently have a paid membership. It\'s absolutely free!

    \n
    \n
    \n
    \n \n \n
    \n
    ';var t=document.querySelector(".myConatiner .continue"),o=document.querySelector(".myClose");t&&o&&n.parentNode&&(o.addEventListener("click",(function(e){n.parentNode.classList.add("remove"),(0,a.se)("#overlay{display:none!important\n }")})),t.addEventListener("click",(function(n){e.click()})))}}),200),(0,a.se)("#tabbed_content {display:none!important}#tabContent3{display:none!important}#review-submitted.remove{display:none!important} .myThing{display:flex;justify-content:center}.myText{text-align:center!important}.myClose {position:absolute; top:10px; right:10px}.myClose:hover{cursor:pointer} .myConatiner{\n display: flex;\n flex-direction: column;\n align-content: center;\n align-items: center;\n }")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+c)}},c="positiveReviewShowReferal",d={n:c,t:()=>s(t),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:l}],g:{u:r,e:i},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};function s(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function u(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return s(t)||!!e&&e[null===(n=window.btoa(c))||void 0===n?void 0:n.replace(/=/g,"")]&&(s(r)||u(i))},codeToRun:()=>{s(t)?document.fn.events.on("refferalclicked",(function(){o.A.init(d)})):(s(r)||u(i))&&(0,a.Hh)((function(){o.A.init(d)}))}}}catch(p){const m="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",p,window.location.pathname+"-"+m)}}},3401:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:/^\/resource\//.test(location.pathname)&&!!e.ai_advert_text&&e.user.loggedIn&&"free"==e.user.type&&/^1$|^11$|^136$^160$|^25$|^159$|^161$|^12$|^21$|^131$|^17$|^2$/.test(e.user.language_id)}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"viewedreport-writer",regex:/^\/report-writer$/,options:!0}),t.push({name:"viewedai-image-generator",regex:/^\/ai-image-generator$/,options:!0}),t.push({name:"viewedai-reading-comprehension-text-generator",regex:/^\/ai-reading-comprehension-text-generator$/,options:!0}),t.push({name:"viewedai-quiz-generator",regex:/^\/ai-quiz-generator$/,options:!0}),t.push({name:"viewedai-lesson-planner-tool",regex:/^\/ai-lesson-planner-tool$/,options:!0}),t.push({name:"viewedai-word-search-generator",regex:/^\/ai-word-search-generator$/,options:!0}),t.push({name:"viewedai-talk-to-a-historical-figure",regex:/^\/ai-talk-to-a-historical-figure$/,options:!0}),t.push({name:"viewedai-cloze-passage-generator",regex:/^\/ai-cloze-passage-generator$/,options:!0}),t.push({name:"viewedai-acrostic-poem-generator",regex:/^\/ai-acrostic-poem-generator$/,options:!0}),t.push({name:"viewedai-crossword-generator",regex:/^\/ai-crossword-generator$/,options:!0}),t.push({name:"viewedai-matching-activity-generator",regex:/^\/ai-matching-activity-generator$/,options:!0}),t.push({name:"viewedai-vocabulary-sheet-generator",regex:/^\/ai-vocabulary-sheet-generator$/,options:!0}),t.push({name:"viewedai-discussion-generator",regex:/^\/ai-discussion-generator$/,options:!0}),t.push({name:"viewedai-play-script-generator",regex:/^\/ai-play-script-generator$/,options:!0}),t.push({name:"viewedai-adventure-story-generator",regex:/^\/ai-adventure-story-generator$/,options:!0}),t.push({name:"viewedai-sentence-scrambler-generator",regex:/^\/ai-sentence-scrambler-generator$/,options:!0}),t.push({name:"viewedai-ppt-quiz-generator",regex:/^\/ai-ppt-quiz-generator$/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),a.push({type:"click",name:"clickedMoreDownloads",parentEl:"#download_selector_wrapper",childEl:"a.altFilemanager"}),a.push({type:"click",name:"clickedML",parentEl:"#resourceMl",childEl:".what-are-members-downloading-now"}),a.push({type:"click",name:"clickedSimilarSearches",parentEl:".similarSearches",childEl:"a.similar"}),a.push({type:"click",name:"clickedAiLink",parentEl:"#actual_downloads",childEl:"a.aiLink"}),t.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0});const r=()=>{},i=()=>{try{if(e.ai_advert_text){const{url:n,text:t}=e.ai_advert_text;document.querySelector("#actual_downloads>li").insertAdjacentHTML("afterend",`\n
  • ${t}
  • \n `),(0,o.se)(".stickyR .aiLink{display: none;}")}}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l=`resourceAiCta-${/^1$|^11$|^136$^160$|^25$|^159$|^161$|^12$/.test(e.user.language_id)?"en":e.user.language_id}`,c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5220:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:o.xl&&/^244$/.test(e.user.country_id)&&!e.user.loggedIn&&0==e.user.twinklid&&document.querySelector("#tabbed_content")}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"signedUp",type:"search",regex:/signed_up/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),a.push({type:"click",name:"clickedCurriculumLink",parentEl:"#tabbed_content",childEl:"a"}),a.push({type:"click",name:"clickedStarReviews",parentEl:"#tabbedContent",childEl:".starRating"}),a.push({type:"click",name:"clickedMlColumn",parentEl:"#mlResources",childEl:".what-are-members-downloading-now "}),a.push({type:"click",name:"clickedBreadcrumb",parentEl:"#breadcrumb",childEl:"a"}),a.push({type:"click",name:"clickedSecondBreadcrumb",parentEl:"#breadcrumbSimple",childEl:"a"});const r=()=>{try{var e;null===(e=document.querySelector("#tabbed_content"))||void 0===e||e.remove()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+i)}},i="resourceCurriculumTabbedContent",l={n:i,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(l),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},9526:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:/^328$/.test(e.user.career_id)&&/^\/resource\//.test(location.pathname)&&!o.aC.member.schoolAccount&&e.user.loggedIn&&o.aC.lang.en&&o.xl}],t=(0,o.DX)(["funnel"]),a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"});const r=()=>{try{var e;null===(e=document.querySelector("#resourceMain"))||void 0===e||e.insertAdjacentHTML("beforeend",'\n
    \n

    Want to get paid more for Supply Teaching?

    \n

    With Elevate Supply, set your own rate and enjoy exclusive perks:

    \n

    FREE Elevate Planner to stay organised.
    \n Twinkl Ultimate Subscription with over 1 million resources.

    \n

    Combine Twinkl’s trusted resources with supply roles that let you set your own rate.

    \nEarn more now!\n
    \n'),(0,o.se)(".elvBox{\npadding: 2rem;\nfont-size: .8rem;\nmargin-top: 1rem;\nbackground-color: #f9f9f9;\nborder-radius: 9px;\np{\ncolor: #555;\n}\n}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},i=()=>{try{var e;null===(e=document.querySelector("#resourceMain"))||void 0===e||e.insertAdjacentHTML("beforeend",'\n
    \n

    Want to take control of your supply teaching pay? With Elevate Supply, you set your own rate and choose roles that suit you. As a bonus, you’ll also get a free planner to keep you organised and access to over a million Twinkl resources to support your teaching. Ready to make a change?

    \nRegister now\n
    \n'),(0,o.se)(".elvBox{\npadding: 2rem;\nfont-size: .8rem;\nmargin-top: 1rem;\nbackground-color: #f9f9f9;\nborder-radius: 9px;\np{\ncolor: #555;\n}\n}")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="resourceElevateInlinePromo",c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:r},{name:"variant2",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},1441:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];var e=document.querySelector("#resource_image .sticker.sticker-aus.sticker-no-hover");const n=[{regex:/^\/resource\//,options:!!e&&a.aC.country.uk&&a.aC.lang.en}],t=(0,a.DX)(["funnel"]),r=(0,a.kQ)(["download"]);r.push({type:"click",name:"clickedResourceCTA",parentEl:"body",childEl:"#actual_downloads a"}),r.push({type:"click",name:"clickedMlResource",parentEl:"#mlResources",childEl:".what-are-members-downloading-now a"});const i=()=>{try{e.remove()}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="resourceRemoveAusBannerMain",c={n:l,t:()=>d(n),ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:i}],g:{u:t,e:r},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};function d(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function s(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var o;return d(n)||!!e&&e[null===(o=window.btoa(l))||void 0===o?void 0:o.replace(/=/g,"")]&&(d(t)||s(r))},codeToRun:()=>{d(n)?(0,a.Gc)((function(){o.A.init(c)})):(d(t)||s(r))&&(0,a.Hh)((function(){o.A.init(c)}))}}}catch(u){const p="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",u,window.location.pathname+"-"+p)}}},9695:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const i=window.dataLayer[0];var e,n=!1,t=!1,a=!1,r=!1;o.aC.lang.en&&o.aC.country.uk&&o.xl&&/^\/resource\//.test(location.pathname)&&(t=document.querySelector(".descriptionWrap"),a=document.querySelector(".resourceDescription "),n=null===(e=a)||void 0===e?void 0:e.querySelector(".resourceDescriptionContent"),r=document.querySelector(".descriptionWrap .showMoreDesLink"),Array.from(document.querySelectorAll(".comment.has-rating")));const l=[{regex:/^\/resource\//,options:o.aC.lang.en&&o.aC.country.uk&&o.xl&&i.user.loggedIn&&t&&a&&n&&r}],c=(0,o.DX)(["funnel","upgrades","products"]);c.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const d=(0,o.kQ)(["download"]);d.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),d.push({type:"click",name:"clickedLogInCTA",parentEl:"#actual_downloads",childEl:"a[data-download='no']"}),d.push({type:"click",name:"clickedInfiniteScrollResource",parentEl:"body",childEl:".more-resources-for-you>a"}),d.push({type:"click",name:"clickedMLColumn",parentEl:"#mlResources",childEl:".what-are-members-downloading-now>a"}),d.push({type:"click",name:"clickedShowMoreDescription",parentEl:".showMoreDes",childEl:".showMoreDesLink"}),d.push({type:"click",name:"clickedShowMoreReviews",parentEl:"body",childEl:"#loadMoreButton"}),d.push({type:"click",name:"clickedStarReviews",parentEl:"#tabbedContent",childEl:".starOff "});const s=()=>{try{var e;r&&n&&a&&t&&(t.insertAdjacentElement("afterbegin",a),null===(e=r)||void 0===e||e.addEventListener("click",(function(e){n.classList.add("myShow"),a.classList.add("myShow"),(0,o.se)("#resource .shortDescription,.showMoreDes{display:none}")})),(0,o.se)(".resourceDescription.myShow{background:#f9f9f9!important} .resourceDescriptionContent{display:none}.resourceDescriptionContent.myShow{display:block}.resourceDescription{display:none}.resourceDescription.myShow{display:block!important} "))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-original-"+p)}},u=()=>{try{t.insertAdjacentElement("beforebegin",a),(0,o.se)("\n .descriptionWrap{display:none}\n ")}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant1-"+p)}},p="resourceShowFullDescription",m={n:p,tg:l,ttl:60,b:[{name:"original",weight:1,run:s},{name:"variant",weight:1,run:u}],g:{u:c,e:d},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(m),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},1851:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/resource\//,options:o.xl&&document.querySelector(".averageRatingPara")&&o.aC.lang.en&&(/^US/.test(e.geo)&&"226"==e.user.country_id||o.aC.country.uk)}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),t.push({name:"signed-up",type:"search",regex:/signed_up/,options:!0});const a=(0,o.kQ)(["download"]),r=()=>{},i=()=>{try{var e,n,t,a,r;(0,o.se)("\n.review-system {\n margin: 0 auto;\n border-radius: 8px;\n padding: 20px;\n position: relative;\n display: flex;\n flex-direction: row;\n gap: 3rem;\n z-index:0;\n}.rating-summary {\n display: flex;\n align-items: center;\n margin-bottom: 20px;\n}.overall-rating {\n font-size: 36px;\n font-weight: bold;\n margin: 0;\n}.rating-summary p{\n margin:0;\n}.star-rating {\n display: inline-block;\n}.review-count {\n margin-left: auto;\n color: #666;\n}.filter-buttons {\n margin-bottom: 20px;\n}.filter-btn {\n background-color: white;\n border: 1px solid #80808024;\n padding: 8px 16px;\n margin-right: 8px;\n border-radius: 8px;\n cursor: pointer;\n color: #000000b8;\n box-shadow: 0 0px 1px 0 rgba(0,0,0,.2);\n}.filter-btn.active {\n background-color: #4a90e2;\n color: white;\n}.review-list {\n list-style-type: none;\n padding: 0;\n}.review-list .comment {\n background-color: #f9f9f9;\n border-radius: 8px;\n padding: 15px;\n margin-bottom: 15px;\n}.comment-meta {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n}.comment-author {\n font-weight: bold;\n}.member-since {\n font-size: 0.8em;\n color: #666;\n}.starRating {\n display: flex;\n}.commentDate {\n font-size: 0.8em;\n color: #666;\n}.commentLike {\n background-color: #4a90e2;\n color: white;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n}.commentThankYou {\n display: none;\n color: green;\n margin-top: 5px;\n}li.comment .comment-meta .comment-author .icon-profile {\n position: relative!important;\n left:0px;\n top:0px;\n margin-right:10px;\n}.ratingsRight {\n width: 100%;\n}.rating-summary {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-bottom: 20px;\n border: 1px solid #80808024;\n box-shadow: 0 0px 1px 0 rgba(0,0,0,.2);\n border-radius: 10px;\n padding: 25px 10px;\n height: fit-content;\n min-width:320px;\n}.topPart {\n display: flex;\n flex-direction: column;\n align-content: center;\n align-items: center;\n justify-content: center;\n gap: 10px;\n}.comment .starRating svg {\n width: 24px;\n height: 24px;\n}button.filter-btn svg {\n width: 20px;\n height: 20px;\n}.filter-buttons {\n display: flex;\n}.filter-btn {\n background-color: white;\n border: 1px solid #80808024;\n padding: 8px 16px;\n margin-right: 8px;\n border-radius: 8px;\n cursor: pointer;\n color: #000000b8;\n box-shadow: 0 0px 1px 0 rgba(0,0,0,.2);\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 7px;\n}body .comment.showMe:nth-of-type(n+2) {\n display: block!important;\n}.load-more-btn {\n display: block;\n margin: 20px auto;\n background-color: #4a90e2;\n color: white;\n border: none;\n padding: 10px 20px;\n border-radius: 4px;\n cursor: pointer;\n font-size: 16px;\n transition: background-color 0.3s ease;\n}.load-more-btn:hover {\n background-color: #3a7bc8;\n}span.comment-author svg {\n width: 25px;\n height: 25px;\n margin-right: 10px;\n}.comment-author span.member-since {\n color: black!important;\n font-size: 14px!important;\n display: flex;\n align-items: center;\n}.comment-author span {\n font-size: 1.2rem!important;\n}.comment-author span.member-since {\n color: black!important;\n font-size: 11px!important;\n display: flex;\n align-items: center;\n color: #26819e!important;\n align-content: center;\n gap: 4px;\n}.member-since svg {\n width: 20px!important;\n height: 20px!important;\n margin-right: 0!important;\n fill: #26819e;\n}.commentDate {\n position: absolute;\n top: 20px;\n right: 20px;\n}div#resource {\n border-bottom: 2px solid #80808021;\n margin-bottom: 40px;\n padding-bottom: 40px;\n}h2.reviewsHeading {\n width: 100%;\n text-align: center;\n font-size: 2rem;\n}.recentRatings {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 20px;\n border-top: 1px solid #8080801a;\n}.recentRating {\n display: flex;\n justify-content: space-between;\n width: 100%;\n padding: 5px 15px;\n}.recentRatings p.title {\n margin: 25px 0;\n}.recentRating p {\n font-size: 13px;\n color: grey;\n}.review-system .ratingWrapper {\n border-top: 1px solid #8080801a;\n border-radius: 0;\n padding-top: 25px;\n margin-top: 25px;\n}p.foundHelpful {\n color: grey;\n}.search-container {\n margin-bottom: 20px;\n}#reviewSearch {\n width: 100%;\n padding: 10px;\n border: 1px solid #80808024;\n box-shadow: 0 0px 1px 0 rgba(0,0,0,.2);\n border-radius: 8px;\n font-size: 16px;\n}.star {\n width: 30px;\n height: 30px;\n position: relative;\n}#star-ratingNew {\n display: flex;\n}.star svg {\n width: 100%;\n height: 100%;\n}@media only screen and (max-width: 990px){\n .review-system {\n flex-direction: column;\n align-items: center;\n}.rating-summary{\n max-width:330px;\n}\n }"),document.querySelector("#resource").insertAdjacentHTML("afterend",`

    Reviews

    \n
    \n

    ${document.querySelector(".averageRatingPara").innerText}

    ${null!==(e=document.querySelector("#star-ratingNew"))&&void 0!==e&&e.outerHTML?document.querySelector("#star-ratingNew").outerHTML:`
    ${'
    '.repeat(5)}
    `}

    ${document.querySelector(".ratings-link").innerText}

    \n
    \n ${document.querySelector(".ratingWrapper")?null===(n=document.querySelector(".ratingWrapper"))||void 0===n?void 0:n.outerHTML:""}\n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n \n
    \n
      \n
    \n
    \n
    `);var i=e=>{let n=0;n+=1e7*e.rating,e.content&&""!==e.content.trim()&&(n+=1e6),n+=1e3*e.helpfulCount;const t=new Date(e.date),o=(new Date-t)/864e5;return n+=Math.max(0,100-o),n};const l=document.querySelector(".review-list"),h=document.querySelectorAll(".filter-btn");var c=document.fn.reviews;const g=Array.from(c).map((e=>{var n,t,o,a,r,i,l,c;const d=null===(n=e.dataset)||void 0===n?void 0:n.commentId,s=null===(t=e.querySelector(".comment-author span:nth-child(2)"))||void 0===t?void 0:t.textContent,u=null===(o=e.querySelector(".member-since"))||void 0===o?void 0:o.textContent,p=null!=u&&u.match(/\d{4}/)[0]?'':"",m=parseInt(null===(a=e.querySelector(".starRating"))||void 0===a||null===(a=a.dataset)||void 0===a?void 0:a.ratingNumber),h=null===(r=e.querySelector(".commentDate"))||void 0===r||null===(r=r.textContent)||void 0===r?void 0:r.replace("Reviewed on ",""),g=null!==(i=e.querySelector('p[dir="auto"]'))&&void 0!==i&&i.textContent?null===(l=e.querySelector('p[dir="auto"]'))||void 0===l?void 0:l.textContent:"";var y=null===(c=e.querySelector(".commentHelpful"))||void 0===c||null===(c=c.innerText)||void 0===c?void 0:c.split(" ")[0];return{id:d,author:s,memberSince:p,rating:m,date:h,content:g,helpfulCount:y?"One"==y?1:y:0}}));var d=e=>{if(!e)return null;const[n,t,o]=e.split(" "),a=["January","February","March","April","May","June","July","August","September","October","November","December"].indexOf(t);return new Date(o,a,parseInt(n))},s=(e,n)=>{const t=``,o=``;let a='
    ';for(let n=1;n<=5;n++)a+=n<=e?t:o;return a+"
    "};document.querySelector(".rating-summary").insertAdjacentHTML("beforeend",'

    Most recent ratings

    '),g.forEach(((e,n)=>{n<5&&document.querySelector(".recentRatings").insertAdjacentHTML("beforeend",`

    ${e.author}

    ${s(e.rating,"20px")}
    `)}));let y="";const w=document.getElementById("reviewSearch");w.addEventListener("input",(function(){y=this.value.toLowerCase(),x="featured",v=0,p(g)}));var u=e=>!y||e.content.toLowerCase().includes(y);const f=5;let v=0,x="featured";var p=(e=g,n=!1)=>{let t=e.filter(u);t="featured"===x?t.sort(((e,n)=>i(n)-i(e))):t.sort(((e,n)=>d(n.date)-d(e.date)));const o=n?v:0,a=o+f,r=t.slice(o,a);n||(l.innerHTML=""),r.forEach((e=>{l.appendChild((e=>{const n=document.createElement("li");return n.className="comment has-rating clearfix active showMe",n.dataset.commentId=e.id,n.id=`comment-${e.id}`,n.innerHTML=`\n \n
    \n \n \n ${e.author}\n ${e.memberSince} Verified \n \n
    \n ${s(e.rating,"30px")}\n
    \n
    ${e.date}
    \n
    \n

    ${e.content}

    \n
    \n \n
    ✔ Thank you for your feedback
    \n
    \n

    ${e.helpfulCount?e.helpfulCount>1?e.helpfulCount+" users":"One user":""} found this helpful

    \n
    \n Comment | \n Report\n
    \n `,n})(e))})),v=a,m(t.length)},m=e=>{let n=document.querySelector("#loadMoreButton");n||(n=document.createElement("button"),n.id="loadMoreButton",n.className="load-more-btn",n.textContent="Load More",document.querySelector(".ratingsRight").appendChild(n),n.addEventListener("click",(()=>{const e="featured"===x?g:g.filter((e=>e.rating===parseInt(x)));p(e,!0)}))),n.style.display=v>=e?"none":"block"};h.forEach((e=>{e.addEventListener("click",(function(){const e=this.dataset.filter;if(h.forEach((e=>e.classList.remove("active"))),this.classList.add("active"),x=e,v=0,w.value="",y="","featured"===e)p(g);else{const n=g.filter((n=>n.rating===parseInt(e)));p(n)}}))})),p(),l.addEventListener("click",(e=>{if(e.target.classList.contains("commentLike")){const n=e.target.dataset.commentId,t=document.getElementById(`commentThankYou-${n}`);e.target.style.display="none",t.style.display="block"}})),document.querySelector(".review-system").insertAdjacentElement("afterbegin",document.querySelector("#stReviews")),null===(t=document.querySelector(".loadMore.myLoad"))||void 0===t||t.remove(),null===(a=document.querySelector("ul#comment"))||void 0===a||a.remove(),null===(r=document.querySelector("#tabbedContent .reviewWrapper"))||void 0===r||r.remove()}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="reviewResourceRedesign-"+(o.aC.country.uk?"UK":"US"),c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},8630:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{window.dataLayer[0];const e=[{regex:/^\/resource\//,options:/^\/resource\//.test(location.pathname)&&o.xl&&o.aC.lang.en&&!!document.querySelector('#download_link[data-download="yes"]')}],n=(0,o.DX)(["funnel"]),t=[];t.push({type:"click",name:"thumbsUp",parentEl:"#resourceMain",childEl:"#feedback_link_yes"}),t.push({type:"click",name:"thumbsDown",parentEl:"#resourceMain",childEl:"#feedback_link_no"});const a=()=>{},r={n:"searchFeedback",tg:e,ttl:60,b:[{name:"original",weight:1,run:a},{name:"variant",weight:1,run:a}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(r,(e=>document.fn.events.on("download",e))),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},5933:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const e=window.dataLayer[0],n=[{regex:/^\/search/,options:!o.aC.member.schoolAccount&&e.user.loggedIn&&"free"==e.user.type&&document.querySelector(".resultContainer")&&o.xl&&(/^US/.test(e.geo)&&"226"==e.user.country_id||o.aC.country.uk)&&o.aC.lang.en}],t=(0,o.DX)(["funnel","upgrades","products"]);t.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0});const a=(0,o.kQ)(["download"]);a.push({type:"click",name:"clickedDownload",parentEl:"#actual_downloads",childEl:"a[data-download='yes']"}),a.push({type:"mouseover",name:"hoveredOverRatings",parentEl:"body",childEl:".reviewLink",mod:5}),a.push({type:"click",name:"clickedResult",parentEl:".left",childEl:".resultContainer a"}),a.push({type:"click",name:"clicked5Star",parentEl:".left",childEl:".resultContainer:not(.searchSuggestionsBlock):not(.linked-container):not(.hasStarOff) a"}),a.push({type:"click",name:"clickedFirst8",parentEl:".left",childEl:".resultContainer:not(.searchSuggestionsBlock):not(.linked-container):nth-of-type(-n+10) a"}),a.push({type:"click",name:"clickedResult",parentEl:".left",childEl:".resultContainer a"});for(let e=50;e>=10;e--){const n=(e/10).toFixed(1);a.push({type:"click",name:`clickedResultWithAverage-${n}`,parentEl:".left",childEl:`.resultContainer a[data-average-review='${n}']`})}const r=()=>{},i=()=>{try{document.querySelectorAll(".resultContainer").forEach((e=>{var n;let t=(e=>{var n;if(null!=e&&null!==(n=e.dataset)&&void 0!==n&&n.rating){var t;const n=JSON.parse(null==e||null===(t=e.dataset)||void 0===t?void 0:t.rating);let o=0,a=0;for(let e in n)o+=e*n[e],a+=n[e];return a?(o/a).toFixed(1):""}})(e);t&&(null!==(n=e.querySelector(".reviewLink"))&&void 0!==n&&n.insertAdjacentHTML("afterbegin",`

    ${t}

    `),e.querySelector("a").dataset.averageReview=t)}))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+l)}},l="averageReviewsSearch-"+(o.aC.country.uk?"uk":"us"),c={n:l,tg:n,ttl:60,b:[{name:"original",weight:1,run:r},{name:"variant",weight:1,run:i}],g:{u:t,e:a},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(c),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},4514:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{window.dataLayer[0];const e=[{regex:/^\/search$/,options:!!document.querySelector("#search_box.searchNotFound")&&o.aC.country.uk&&o.aC.lang.en}],n=(0,o.DX)(["funnel"]);n.push({name:"searchPage",regex:/^\/search$/}),n.push({name:"createPage",regex:/^\/create$/});const t=(0,o.kQ)(["download"]);t.push({type:"click",name:"clickedCreate",parentEl:"#search_container",childEl:".create-box a"});const a={n:"searchEmptyAA",tg:e,ttl:60,b:[{name:"original",weight:1,run:()=>{}},{name:"variant",weight:1,run:()=>{}}],g:{u:n,e:t},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};return{shouldRun:(0,o.b3)(a),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},6544:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{window.dataLayer[0];var e=!1,n=function(e,n){e.forEach((e=>{var t;null===(t=e.closest(".resultContainer"))||void 0===t||null===(t=t.classList)||void 0===t||t.add("hasAusBanner"),n&&e.remove()}))},t=document.querySelectorAll(".sticker.sticker-aus.sticker-no-hover");/^\/search/.test(window.location.pathname)&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&t&&t.length>0?document.fn.events.emit("bannerOnPageAus"):/^\/search/.test(window.location.pathname)&&a.xl&&a.aC.country.uk&&a.aC.lang.en&&t&&0==t.length&&document.fn.events.on("loadedContent",(function(){(t=document.querySelectorAll(".sticker.sticker-aus.sticker-no-hover"))&&t.length>0&&document.fn.events.emit("bannerOnPageAus")}));const r=[{regex:/^\/search/,options:a.xl&&a.aC.country.uk&&a.aC.lang.en}],i=(0,a.DX)(["funnel"]),l=(0,a.kQ)(["download"]);l.push({type:"click",name:"clickedAnyResource",parentEl:".left",childEl:".resultContainer > a"}),l.push({type:"click",name:"clickedResourceWithBanner",parentEl:".left",childEl:".resultContainer.hasAusBanner > a"});const c=()=>{try{n(t,e),document.fn.events.on("loadedContent",(function(){(t=document.querySelectorAll(".sticker.sticker-aus.sticker-no-hover"))&&t.length>0&&n(t,e)}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-original-"+s)}},d=()=>{try{n(t,e=!0),document.fn.events.on("loadedContent",(function(){(t=document.querySelectorAll(".sticker.sticker-aus.sticker-no-hover"))&&t.length>0&&n(t,e)}))}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+s)}},s="searchRemoveAusBanner",u={n:s,t:()=>p(r),ttl:60,b:[{name:"original",weight:1,run:c},{name:"variant",weight:1,run:d}],g:{u:i,e:l},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:0}};function p(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function m(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return p(r)||!!e&&e[null===(n=window.btoa(s))||void 0===n?void 0:n.replace(/=/g,"")]&&(p(i)||m(l))},codeToRun:()=>{var e,n;p(r)?localStorage._x&&null!==(e=JSON.parse(null===(n=localStorage)||void 0===n?void 0:n._x))&&void 0!==e&&e[window.btoa(s).replace(/=/g,"")]?o.A.init(u):document.fn.events.on("bannerOnPageAus",(()=>o.A.init(u))):(p(i)||m(l))&&(0,a.Hh)((function(){o.A.init(u)}))}}}catch(h){const g="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",h,window.location.pathname+"-"+g)}}},493:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(2766);const a=()=>{try{const r=window.dataLayer[0],i=[{regex:/^\/login$/,options:!r.user.loggedIn&&document.querySelector(".overlayContainerinner")&&0==r.user.twinklid&&o.aC.lang.en&&244==r.user.country_id}],l=(0,o.DX)(["funnel","upgrades","products"]);l.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),l.push({name:"signed-up",type:"search",regex:/signed_up/,options:!0});const c=(0,o.kQ)(["download"]);var e=["EYFS","KS1","KS2","Adults","KS3","KS4","KS5","Other"],n=["1111","3637","3749","3638","3634","8098","3633","8963","3639","3640"],t=["8839","9036","8093","3635","3634","8918","3631","8097","9031","3640"],a=["3625","3626","3627","8097","3628","3628","3629","3640"];["Teacher in a school","SEN Teacher","Private Tutor","Teaching Assistant","Senior Leadership","Supply Teacher","EAL","ECT","Trainee","Not listed"].forEach(((e,t)=>{c.push({type:"click",name:`Clicked_${e.replace(/\s+/g,"")}`,parentEl:".signUp.overlayOcc",childEl:`.occItem[data-value='${n[t]}']`})})),e.forEach(((e,n)=>{c.push({type:"click",name:`Clicked_${e.replace(/\s+/g,"")}`,parentEl:".signUp.overlayOcc",childEl:`.occItem[data-value='${a[n]}']`})})),["Speech and Language Therapist","Occupational therapist","Librarian","Home Educator","Senior Leadership","Nannies / Au pairs","Childminder","Adult educator","Early Years Apprentice","Not Listed"].forEach(((e,n)=>{c.push({type:"click",name:`Clicked_${e.replace(/\s+/g,"")}`,parentEl:".signUp.overlayOcc",childEl:`.occItem[data-value='${t[n]}']`})})),e.forEach(((e,n)=>{c.push({type:"click",name:`Clicked_Ages_${e.replace(/\s+/g,"")}`,parentEl:"body",childEl:`.secondTeacherChoice .choiceBoxSecond[value='${a[n]}']`})})),c.push({type:"click",name:"clickedTeacherInSchool",parentEl:"body",childEl:".teacherOptions .choiceBoxSecond[value='1111']"}),c.push({type:"click",name:"ClickedParent",parentEl:".signUp.overlayOcc",childEl:".occItem[data-value='3636']"}),c.push({type:"click",name:"clickedTeacherFirstchoice",parentEl:"body",childEl:".teacherParentContainer .choiceBox.teacher"}),c.push({type:"click",name:"clickedParentFirstChoice",parentEl:"body",childEl:".teacherParentContainer .choiceBox.parent"}),c.push({type:"click",name:"clickedSomethingElseFirstChoice",parentEl:"body",childEl:".teacherParentContainer .choiceBox.other"}),c.push({type:"click",name:"clickedAddAnotherChild",parentEl:"body",childEl:".parentOptions .addAnother"}),c.push({type:"click",name:"clickedContinueParent",parentEl:"body",childEl:".parentOptions .parentContinue"}),c.push({type:"click",name:"clickedSkipParent",parentEl:"body",childEl:".parentOptions .parentSkip"}),c.push({type:"click",name:"clickedBackParent",parentEl:"body",childEl:".getStartedContainer.expandParent .backButtonSignUp"}),c.push({type:"click",name:"clickedBack",parentEl:"body",childEl:".getStartedContainer .backButtonSignUp"}),c.push({type:"click",name:"clickedFirstChoice",parentEl:"body",childEl:".teacherParentContainer .choiceBox"}),c.push({type:"click",name:"clickedTeacherSecondChoice",parentEl:"body",childEl:".teacherOptions .choiceBoxSecond"}),c.push({type:"click",name:"clickedTeacherThirdChoice",parentEl:"body",childEl:".teacherOptions.secondTeacherChoice .choiceBoxSecond"}),c.push({type:"click",name:"clickedParentSecondChoice",parentEl:"body",childEl:".parentOptions .parentContinue"}),c.push({type:"click",name:"clickedParentSecondChoice",parentEl:"body",childEl:".parentOptions .parentSkip"}),c.push({type:"click",name:"clickedSomethingElseSecondChoice",parentEl:"body",childEl:".otherOptions .choiceBoxSecondOther"}),c.push({type:"click",name:"clickedBack",parentEl:"body",childEl:".getStartedContainer .backButtonSignUp"});const d=()=>{},s=()=>{try{var e,n=["Teacher in a school","SEN Teacher","Private Tutor","Teaching Assistant","Senior Leadership","Supply Teacher","EAL","ECT","Trainee","Not listed"],t=["EYFS","KS1","KS2","Adults","KS3","KS4","KS5","Other"],a=["Speech and Language Therapist","Occupational therapist","Librarian","Home Educator","Senior Leadership","Nannies / Au pairs","Childminder","Adult educator","Early Years Apprentice","Not Listed"],r=["1111","3637","3749","3638","3634","8098","3633","8963","3639","3640"],i=["3625","3626","3627","8097","3628","3628","3629","3640"],l=["8839","9036","8093","3635","3634","8918","3631","8097","9031","3640"];(0,o.se)("#front_panel_search .front_panel_container {\n display: block;\n display: flex;\n flex-direction:column;\n align-items: center;\n}#front_panel_search {\n margin-bottom: 0;\n height: 615px;\n}.getStartedContainer {\n margin-top: 50px;\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-bottom: 33px;\n width: 730px;\n height:370px;\n padding: 20px;\n border-radius: 14px;\n position: relative;\n transition: all 0.8s;\n padding-bottom:2rem;\n}body p.areYou {\n margin-top: 40px;\n margin-bottom: 20px;\n font-size: 1.8rem!important;\n color: #00000082;\n}.getStartedContainer p {\n color: #2399f9;\n font-size: 1.2rem!important;\n margin: 0px;\n}.teacherParentContainer {\n display: flex;\n width: 100%;\n justify-content: center;\n margin-bottom: 30px;\n}.choiceBox {\n border: 2px solid #2399f9;\n width: 168px;\n height: 168px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 15px;\n border-radius: 20px;\n cursor: pointer;\n background: #ffffff;\n box-shadow: 3px 3px 5px rgb(0 0 0 / 10%);\n visibility:visible;\n opacity:1;\n}.choiceBoxSecond {\n border: 2px solid #2399f9;\n width: 130px;\n height: 130px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 15px;\n border-radius: 20px;\n cursor: pointer;\n background: #ffffff;\n box-shadow: 3px 3px 5px rgb(0 0 0 / 10%);\n visibility: visible;\n opacity:0;\n animation-name: fadeIn;\n animation-duration:2s;\n animation-fill-mode: forwards;\n padding: 10px;\n}.choiceBoxSecondParents {\n border: 2px solid #2399f9;\n width: 150px;\n height: 150px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 15px;\n border-radius: 20px;\n cursor: pointer;\n background: #ffffff;\n box-shadow: 3px 3px 5px rgb(0 0 0 / 10%);\n padding: 10px;\n opacity:0;\n animation-name: fadeIn;\n animation-duration:2s;\n animation-fill-mode: forwards;\n position:relative;\n}.choiceBoxSecondOther {\n border: 2px solid #2399f9;\n width: 125px;\n height: 125px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 15px;\n border-radius: 20px;\n cursor: pointer;\n background: #ffffff;\n box-shadow: 3px 3px 5px rgb(0 0 0 / 10%);\n padding: 10px;\n opacity:0;\n animation-name: fadeIn;\n animation-duration:2s;\n animation-fill-mode: forwards;\n position:relative;\n}.choiceBoxSecondParents:nth-child(2){\n animation-delay:0.04s;\n}\n.choiceBoxSecondParents:nth-child(3){\n animation-delay:0.08s;\n}\n.choiceBoxSecondParents:nth-child(4){\n animation-delay:0.12s;\n}\n.choiceBoxSecondParents:nth-child(5){\n animation-delay:0.16s;\n}\n.choiceBoxSecondParents:nth-child(6){\n animation-delay:0.2s;\n}\n.choiceBoxSecond:nth-child(2){\n animation-delay:0.02s;\n}\n.choiceBoxSecond:nth-child(3){\n animation-delay:0.04s;\n}\n.choiceBoxSecond:nth-child(4){\n animation-delay:0.06s;\n}\n.choiceBoxSecond:nth-child(5){\n animation-delay:0.08s;\n}\n.choiceBoxSecond:nth-child(6){\n animation-delay:0.1s;\n}\n.choiceBoxSecond:nth-child(7){\n animation-delay:0.12s;\n}.choiceBoxSecond:nth-child(2){\n animation-delay:0.14s;\n}\n.choiceBoxSecond:nth-child(8){\n animation-delay:0.16s;\n}\n.choiceBoxSecond:nth-child(9){\n animation-delay:0.18s;\n}\n.choiceBoxSecond:nth-child(10){\n animation-delay:0.2s;\n}\n.choiceBoxSecond:nth-child(11){\n animation-delay:0.22s;\n}\n.choiceBoxSecond:nth-child(12){\n animation-delay:0.24s;\n}.choiceBoxSecond:nth-child(13){\n animation-delay:0.26s;\n}\n.choiceBoxSecond:nth-child(14){\n animation-delay:0.28s;\n}\n.choiceBoxSecond:nth-child(15){\n animation-delay:0.3s;\n}\n.choiceBoxSecond:nth-child(16){\n animation-delay:0.32s;\n}\n.choiceBoxSecond:nth-child(17){\n animation-delay:0.34s;\n}\n.choiceBoxSecond:nth-child(18){\n animation-delay:0.36s;\n}.choiceBoxSecond:nth-child(19){\n animation-delay:0.38s;\n}\n@keyframes fadeIn{\n 0%{\n opacity:0;\n }100%{\n opacity:1;\n }\n}@keyframes fadeOut{\n 0%{\n opacity:1;\n visibility:visibile;\n display:block;\n }100%{\n opacity:0;\n visibility:hidden;\n display:none;\n }\n}.teacherOptions.fadeOut{\n animation-name:fadeOut;\n animation-duration:1s;\n animation-fill-mode:forwards;\n }.choiceBoxSecond:hover{\n background-color: #e2f2ff;\n}.choiceBoxSecondParents:hover{\n background-color: #e2f2ff;\n}.choiceBoxSecondOther:hover{\n background-color: #e2f2ff;\n}.choiceBoxSecond p {\n font-size: 1.3rem;\n}.teacherParentContainer svg {\n fill: #2399f9;\n transform: scale(1.3);\n margin-bottom: 10px;\n}a.alreadyHaveAnAccount {\n background-color: #d91878;\n color: white;\n padding: 10px 20px;\n border-radius: 7px;\n font-family: 'robotobold';\n font-size: 16px;\n box-shadow: 0 0 1px 1px #fff, 0 2px 2px rgb(0 0 0 / 18%);\n cursor: pointer;\n text-decoration: none;\n}.choiceBox:hover {\n background-color: #e2f2ff;\n}.choiceBox.hidden{\n display:none;\n}.getStartedContainer.expand {\n width: 100%;\n height: 100%;\n}.getStartedContainer.expandOther {\n width: 100%;\n height: 100%;\n}.getStartedContainer.expandParent {\n width: 100%;\n height: 100%;\n}#front_panel_search.heighten {\n height: 1000px;\n}#front_panel_search.heightenOther {\n height: 820px;\n}#front_panel_search.heightenParent {\n height: 970px;\n}.choiceBox.fadeOut{\n display:none;\n}.teacherOptions {\n display: flex;\n width: 100%;\n height: 100%;\n flex-wrap: wrap;\n align-items: center;\n margin-left: 84px;\n max-height:641px;\n align-content:center;\n}.parentOptions {\n display: flex;\n width: 94%;\n height: 63%;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n margin-top: 20px;\n}.otherOptions {\n display: flex;\n width: 94%;\n height: 70%;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n margin-top: 20px;\n align-content:center;\n}p.ageGroup {\n margin-bottom: 6px;\n font-size: 22px;\n font-weight: 600;\n}.choiceBoxSecondParents \n p:not(.ageGroup) {\n font-size: 15px;\n color: #2399f9;\n}.choiceBoxSecondParents.selected{\n background-color: #e2f2ff;\n}.choiceBoxSecondParents.selected::after {\n content: '✔';\n font-size: 22px;\n color: #ffffff;\n font-weight: 900;\n position: absolute;\n right: -18px;\n color: white;\n top: -18px;\n background: #679000;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 3px solid white;\n animation-name:fadeIn;\n animation-duration:0.3s;\n animation-fill-mode:forwards\n}.continueButtonParent{\n padding: 10px 20px;\n border: 2px solid white;\n border-radius: 7px;\n color: white!important;\n font-size: 26px;\n font-family: 'robotobold';\n text-shadow: 5px 5px 20px #3333335c;\n background: #d91878;\n display:none;\n margin-top: 97px;\n animation-name:fadeIn;\n animation-duration:1s;\n animation-fill-mode:forwards;\n cursor:pointer;\n}.continueButtonParent.show{\n display:block!important;\n}.getStartedContainer.expandParent.expandContinue {\n height: 775px;\n}.getStartedContainer.expandParent.expandContinue.teacherForm {\n width: 485px;\n height: 545px;\n}.hiddenBar{\n display:none;\n}#front_panel_search #new_sign_up {\n display: contents;\n}.getStartedContainer.expand.teacherForm,.getStartedContainer.expandOther.teacherForm {\n width: 485px;\n height: 545px;\n}#front_panel_search .new_sign_up_form {\n box-shadow: 0px 0 25px 0px #a7a3a38f;\n border: 3px solid #2399f9;\n border-radius: 13px;\n overflow: hidden;\n}#front_panel_search .boxed-text {\n background-color: #2399f914;\n}#front_panel_search .flex-wrapper {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: end;\n justify-content: center;\n animation-name:fadeIn;\n animation-duration:2s;\n animation-fill-mode:forwards;\n}#front_panel_search.heighten.form,#front_panel_search.heightenParent.form,#front_panel_search.heightenParent.form {\n height: 830px;\n}p.seeMore {\n margin-top: -12px;\n color: #0000007d;\n font-size: 17px;\n cursor: pointer;\n}p.seeMore:hover {\n color: #000000b3;\n}.backButtonSignUp {\n position: absolute;\n left: 40px;\n top: 54px;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n border: 2px solid #2399f9;\n cursor: pointer;\n}.backButtonSignUp svg {\n fill: #2399f9;\n transform: scale(0.5);\n}#new_sign_up .otherOccupation.show{\n display:block!important;\n}.getStartedContainer.expandOther.teacherForm.notListed{\n height:620px;\n}.prospect-height {\n margin-bottom: 0;\n height: 100vh!important;\n}.secondTeacherChoice .choiceBoxSecond {\n width: 145px;\n height: 145px;\n}.teacherOptions {\n display: flex;\n width: 100%;\n height: 100%;\n flex-wrap: wrap;\n align-items: center;\n margin-left:0!important;\n max-height: 641px;\n align-content: center;\n justify-content: center;\n}body p.areYou {\n margin-top: 40px;\n margin-bottom: 20px;\n font-size: 33px;\n color: #000000fc;\n}.occPlease{\n display:none;\n}.overlayContainer.career {\n display: flex;\n align-items: center;\n justify-content: center;\n}.choiceBoxSecond p,.choiceBoxSecondOther p {\n text-align: center;\n}.childInputContainer {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-content: center;\n justify-content: center;\n align-items: center;\n gap: 20px;\n}.addAnother {\n cursor: pointer;\n display: flex;\n flex-wrap: nowrap;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n}.parentOptions {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 2rem;\n}select#months,.childInputContainer input {\n border: 2px solid #2399f9;\n padding: 16px;\n background: white;\n border-radius: 20px;\n box-shadow: 3px 3px 5px rgb(0 0 0 / 10%);\n}.otherOptions,.teacherOptions {\n max-width: 800px!important;\n}.parentContinue {\n padding: 10px 20px;\n background: #5d8200;\n color: white;\n border-radius: 6px;\n font-size: 1.2rem;\n font-family: robotobold;\n cursor:pointer;\n}.parentSkip:hover {\n text-decoration: underline;\n}.parentSkip {\n color: grey;\n}input[type=\"number\"] {\n width: 123px;\n}@media screen and (max-width: 768px) {\n .teacherParentContainer {\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-wrap: wrap;\n }.choiceBox {\n width: 130px;\n height: 130px;\n display: flex;\n}body p.areYou {\n margin-top: 0px!important;\n text-align:center;\n}.teacherOptions {\n max-height: 100%!important;\n gap:20px;\n}.backButtonSignUp {\n top: -40px;\n left: -13px;\n}.secondTeacherChoice .choiceBoxSecond {\n width: 100px;\n height: 100px;\n}.childInputContainer {\n display: flex;\n flex-direction: column;\n}.getStartedContainer select#months,.getStartedContainer input {\n width: 200px!important;\n}\n.getStartedContainer p {\n text-align: center;\n}body p.areYou {\n font-size: 1.4rem!important;\n line-height: 1.9rem;\n}\n.choiceBoxSecond p {\n font-size: 1rem!important;\n}.choiceBoxSecond {\n width: 100px;\n height: 100px;\n margin:0px;\n}.getStartedContainer {\n gap: 20px;\n}\n.choiceBoxSecondOther {\n height: 100px;\n width: 100px;\n margin: 0;\n}.choiceBoxSecondOther p {\n font-size: 1rem!important;\n}.otherOptions {\n display: flex;\n width: 100%;\n height: 100%;\n flex-wrap: wrap;\n align-items: center;\n margin-left: 0 !important;\n max-height: 641px;\n align-content: center;\n justify-content: center;\n gap: 20px;\n}\n}.overlayContainerinner.hidden {\n display: none;\n}.parentSkip {\n color: grey;\n cursor: pointer;\n}.parentContinue:hover {\n text-decoration: underline;\n}p.areYou {\n text-align: center;\n max-width: 600px;\n}"),document.querySelectorAll(".overlayContainerinner").forEach((e=>e.classList.add("hidden"))),document.querySelectorAll(".overlayContainer")[1].insertAdjacentHTML("beforeend",'
    \n

    Tell us who you are so we can make everything perfect for you.

    \n
    \n
    \n\n

    Teacher

    \n
    \n
    \n \n

    Parent

    \n
    \n
    \n \n

    Something else

    \n
    \n
    \n
    '),null===(e=document.querySelector("select#occupation option[selected]"))||void 0===e||e.removeAttribute("selected"),document.querySelector(".teacherParentContainer").addEventListener("click",(e=>{var c,d,s,u,p;if(e.target.closest(".choiceBox"))if(document.querySelectorAll(".choiceBox").forEach((e=>{e.classList.add("fadeOut")})),(0,o.se)("#front_panel_search {transition:height 1s}"),null===(c=document.querySelector(".alreadyHaveAnAccount"))||void 0===c||c.classList.add("hiddenBar"),document.querySelector(".teacherParentContainer").style="display:none",e.target.closest(".teacher"))null===(d=document.querySelector("#front_panel_search"))||void 0===d||d.classList.add("heighten"),null===(s=document.querySelector(".getStartedContainer"))||void 0===s||s.classList.add("expand"),document.querySelector(".areYou").innerText="Which describes you best?",document.querySelector(".teacherParentContainer").insertAdjacentHTML("beforebegin",'
    '),n.forEach(((e,n)=>{document.querySelector(".teacherOptions").insertAdjacentHTML("beforeend",`

    ${e}

    `)})),document.querySelector(".teacherOptions").addEventListener("click",(e=>{var n,o,a,r;e.target.closest(".teacherOptions:not(.secondTeacherChoice) .choiceBoxSecond")&&(1111==(null===(n=e.target.closest(".choiceBoxSecond"))||void 0===n?void 0:n.getAttribute("value"))?document.querySelector(".getStartedContainer").dataset.career="1111":document.querySelector(".getStartedContainer").dataset.career=null===(o=e.target.closest(".choiceBoxSecond"))||void 0===o?void 0:o.getAttribute("value"),document.querySelector(".teacherOptions").innerHTML="",document.querySelector(".teacherOptions").classList.add("secondTeacherChoice"),t.forEach(((e,n)=>{document.querySelector(".teacherOptions").insertAdjacentHTML("beforeend",`

    ${e}

    `)})),document.querySelector(".areYou").innerText="What age do you teach?");e.target.closest(".teacherOptions.secondTeacherChoice .choiceBoxSecond")&&("1111"==document.querySelector(".getStartedContainer").dataset.career?(localStorage.setItem("extraCareerInfo",document.querySelector(".getStartedContainer").dataset.career),null===(a=document.querySelector(`.occItem[data-value="${e.target.closest(".teacherOptions.secondTeacherChoice .choiceBoxSecond").getAttribute("value")}"`))||void 0===a||a.click()):(localStorage.setItem("extraCareerInfo",e.target.closest(".teacherOptions.secondTeacherChoice .choiceBoxSecond").getAttribute("value")),null===(r=document.querySelector(`.occItem[data-value="${document.querySelector(".getStartedContainer").dataset.career}"`))||void 0===r||r.click()))})),null===(u=document.querySelector(".getStartedContainer"))||void 0===u||u.insertAdjacentHTML("afterbegin",'
    '),null===(p=document.querySelector(".backButtonSignUp"))||void 0===p||p.addEventListener("click",(()=>{var e,n,t,o,a;null===(e=document.querySelector(".teacherOptions"))||void 0===e||e.remove(),document.querySelector(".teacherParentContainer").style="",null===(n=document.querySelector(".getStartedContainer"))||void 0===n||n.classList.remove("expand"),null===(t=document.querySelector("#front_panel_search"))||void 0===t||t.classList.remove("heighten"),document.querySelectorAll(".choiceBox.fadeOut").forEach((e=>{e.classList.remove("fadeOut")})),null===(o=document.querySelector(".backButtonSignUp"))||void 0===o||o.remove(),document.querySelector(".areYou").innerText="Tell us who you are so we can make everything perfect for you.",null===(a=document.querySelector(".alreadyHaveAnAccount"))||void 0===a||a.classList.remove("hiddenBar")}));else if(e.target.closest(".parent")){var m,h,g,y,w;null===(m=document.querySelector("#front_panel_search"))||void 0===m||m.classList.add("heightenParent"),null===(h=document.querySelector(".getStartedContainer"))||void 0===h||h.classList.add("expandParent"),document.querySelector(".areYou").innerText="Tell us a little about your child and we'll recommend tailored teaching materials for them.";var f='
    \n \n
    ';null===(g=document.querySelector(".teacherParentContainer"))||void 0===g||g.insertAdjacentHTML("beforebegin",`
    ${f}
    Add another child
    \n\n
    Continue
    skip
    `),document.querySelector(".addAnother").addEventListener("click",(()=>{document.querySelector(".addAnother").insertAdjacentHTML("beforebegin",f)}));var v=()=>{var e,n=[];document.querySelectorAll(".childInputContainer").forEach(((e,t)=>{var o=e.querySelector('input[placeholder="First Name"]').value,a=e.querySelector('select[name="birthMonth"]').value,r=e.querySelector('input[type="number"]').value;(o||a||r)&&n.push({firstName:o,birthMonth:a,birthYear:r||null})})),n.length&&localStorage.setItem("parentChildren",JSON.stringify(n)),null===(e=document.querySelector('.occItem[data-value="3636"]'))||void 0===e||e.click()};document.querySelector(".parentContinue").addEventListener("click",(()=>{v()})),document.querySelector(".parentSkip").addEventListener("click",(()=>{v()})),null===(y=document.querySelector(".getStartedContainer"))||void 0===y||y.insertAdjacentHTML("afterbegin",'
    '),null===(w=document.querySelector(".backButtonSignUp"))||void 0===w||w.addEventListener("click",(()=>{var e,n,t,o,a,r;null===(e=document.querySelector(".parentOptions"))||void 0===e||e.remove(),document.querySelector(".teacherParentContainer").style="",null===(n=document.querySelector(".getStartedContainer"))||void 0===n||n.classList.remove("expandParent"),null===(t=document.querySelector("#front_panel_search"))||void 0===t||t.classList.remove("heightenParent"),document.querySelectorAll(".choiceBox.fadeOut").forEach((e=>{e.classList.remove("fadeOut")})),null===(o=document.querySelector(".backButtonSignUp"))||void 0===o||o.remove(),null===(a=document.querySelector(".continueButtonParent"))||void 0===a||a.remove(),document.querySelector(".areYou").innerText="Tell us who you are so we can make everything perfect for you.",null===(r=document.querySelector(".alreadyHaveAnAccount"))||void 0===r||r.classList.remove("hiddenBar")}))}else{var x,b,k,E,A;null===(x=document.querySelector("#front_panel_search"))||void 0===x||x.classList.add("heighten"),null===(b=document.querySelector(".getStartedContainer"))||void 0===b||b.classList.add("expand"),document.querySelector(".areYou").innerText="Which describes you best?",null===(k=document.querySelector(".teacherParentContainer"))||void 0===k||k.insertAdjacentHTML("beforebegin",'
    '),a.forEach(((e,n)=>{var t;null===(t=document.querySelector(".otherOptions"))||void 0===t||t.insertAdjacentHTML("beforeend",`

    ${e}

    `)})),null===(E=document.querySelector(".otherOptions"))||void 0===E||E.addEventListener("click",(e=>{if(e.target.closest(".choiceBoxSecondOther")&&e.target.closest(".choiceBoxSecondOther").getAttribute("value")){var n,t=e.target.closest(".choiceBoxSecondOther").getAttribute("value");null===(n=document.querySelector(`.occItem[data-value="${t}"`))||void 0===n||n.click()}})),document.querySelector(".getStartedContainer").insertAdjacentHTML("afterbegin",'
    '),null===(A=document.querySelector(".backButtonSignUp"))||void 0===A||A.addEventListener("click",(()=>{var e,n,t,o;null===(e=document.querySelector(".otherOptions"))||void 0===e||e.remove(),document.querySelector(".teacherParentContainer")&&(document.querySelector(".teacherParentContainer").style=""),null===(n=document.querySelector(".getStartedContainer"))||void 0===n||n.classList.remove("expand"),null===(t=document.querySelector("#front_panel_search"))||void 0===t||t.classList.remove("height"),document.querySelectorAll(".choiceBox.fadeOut").forEach((e=>{e.classList.remove("fadeOut")})),null===(o=document.querySelector(".backButtonSignUp"))||void 0===o||o.remove(),document.querySelector(".areYou")&&(document.querySelector(".areYou").innerText="Tell us who you are so we can make everything perfect for you.")}))}}))}catch(e){(0,o.BI)("ABError",e,window.location.pathname+"-variant-"+u)}},u="interactiveJourneySignUpReset"+(o.xl?"-desktop":"-mobile"),p={n:u,tg:i,ttl:60,b:[{name:"original",weight:1,run:d},{name:"variant",weight:1,run:s}],g:{u:l,e:c},o:{bucket:-1,testing:!0,fnDataApi:"ga",evq:window.document.fn.events,encodeCookie:!0,deploy:1}};return{shouldRun:(0,o.b3)(p),codeToRun:()=>{}}}catch(e){const n="undefined"!=typeof expName?expName:"unset";(0,o.BI)("ABError",e,window.location.pathname+"-"+n)}}},3627:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var o=t(5133),a=t(2766);const r=()=>{try{var e;const r=window.dataLayer[0];/^\/teaching-wiki\/|^\/parenting-wiki\//.test(location.pathname)&&(0,a.se)("#mlResources {\n display: grid;\n grid-template-columns: repeat(auto-fit,minmax(210px,1fr));\n gap: 1rem;\n }");var n=null==r||null===(e=r.wiki)||void 0===e?void 0:e.recommendation,t=document.getElementById("mlResources");const i=[{regex:/^\/teaching-wiki\/|^\/parenting-wiki\//,options:!!n&&20==n.length&&!!t}],l=(0,a.DX)(["funnel"]);l.push({name:"sign-in",type:"search",regex:/sign_in/,options:!0}),l.push({name:"sign-up",type:"search",regex:/signed_up/,options:!0}),l.push({name:"searched",type:"pathname",regex:/^\/search/,options:!0}),l.push({name:"visitedResource",type:"pathname",regex:/^\/resource\//,options:!0});const c=(0,a.kQ)(["download"]);c.push({type:"click",name:"clickedMl",parentEl:"#mlResources",childEl:".what-are-members-downloading-now a"});const d=()=>{try{t.innerHTML="",n.forEach((e=>{var n;t.insertAdjacentHTML("beforeend",`\n \n
    `)})),(0,a.se)("#mlResources{width:100%;padding:0px!important}#youll_love_resource_box.dashy>div{padding:0px!important}")}catch(e){(0,a.BI)("ABError",e,window.location.pathname+"-variant-"+s)}},s="wikiMlSideBarRecs0807",u={n:s,t:()=>p(i),ttl:60,b:[{name:"original",weight:1,run:()=>{(0,a.se)("#mlResources{width:100%;padding:0px!important}#youll_love_resource_box.dashy>div{padding:0px!important}")}},{name:"variant",weight:1,run:d}],g:{u:l,e:c},o:{bucket:-1,testing:!0,fnDataApi:"ga",encodeCookie:!0,deploy:0}};function p(e){return e.some((e=>e.regex.test(window.location[e.type||"pathname"])&&(void 0===e.options||e.options)))}function m(e){return e.some((e=>!!e.path&&e.path.test(window.location.pathname)))}return{shouldRun:e=>{var n;return p(i)||!!e&&e[null===(n=window.btoa(s))||void 0===n?void 0:n.replace(/=/g,"")]&&(p(l)||m(c))},codeToRun:()=>{p(i)?(0,a.Gc)((function(){o.A.init(u)})):(p(l)||m(c))&&(0,a.Hh)((function(){o.A.init(u)}))}}}catch(h){const g="undefined"!=typeof expName?expName:"unset";(0,a.BI)("ABError",h,window.location.pathname+"-"+g)}}},2361:(e,n,t)=>{var o={"./Active/Category/categoryInstantDownloadButtonReset4.js":9348,"./Active/Dashy/ProspectDashyAddFREEWordingAUSUS.js":8280,"./Active/Dashy/dashyRemoveRecentlyViewedTab.js":9861,"./Active/Dashy/dashyWidgetsMobile.js":8785,"./Active/Dashy/freeTrialLeftHandDashy.js":5806,"./Active/Dashy/moveFreeTrialIconToPos1.js":2231,"./Active/Dashy/prospectDashyTwoStepSignUpUS.js":4230,"./Active/Dashy/recommendedForYourDashy.js":9199,"./Active/Dashy/signInButtonAtTheTopOfDashyLoggedOut.js":8032,"./Active/MMOrder-no-tfx.js":6906,"./Active/Payment/canelTryialAnyTime.js":737,"./Active/Payment/mobilePaymentAnnualPrompt.js":1515,"./Active/Payment/noPaymentTodayFinalPaymentPage-TFX-3596.js":2848,"./Active/Premium/removeFreeResourcePacksSecondaryPremium.js":4370,"./Active/Premium/schoolAccountPremiumPage.js":6186,"./Active/Premium/upgradeRedesign-tfx-4001.js":7681,"./Active/ProductLandingPages/landingPagePrimaryCTA-Free-Reset.js":3371,"./Active/ProductLandingPages/landingPagePrimaryCTA-Prospect-Reset.js":3641,"./Active/SignUp/prospectTwoStepSignUpAU.js":1454,"./Active/Wiki/wikiBlogCtaTrial.js":7184,"./Active/Wiki/wikiContentsInlineParentsAll.js":3601,"./Active/Wiki/wikiContentsInlineTeachingAll.js":2439,"./Active/all/allStarsBannerUSACta.js":634,"./Active/all/createBannerResourcePage.js":726,"./Active/all/headerFreeTrialCtaChange.js":1602,"./Active/all/headerHoverCTAWordingchange.js":8228,"./Active/all/headerfreeTrialHeaderCopyChange.js":5846,"./Active/all/joinButtonMarginProspects.js":4012,"./Active/all/notificationFreeTrialMobile.js":2562,"./Active/all/reminderTryUltimateHeader.js":7498,"./Active/all/upgradeHeaderandpremium.js":5404,"./Active/ari/ariNoAccessToTrial-TFX-3597.js":2878,"./Active/burgerFreeTrialMembershipButton.js":9594,"./Active/myAccount/unsubClarity.js":8140,"./Active/myCredit/myCreditPageRedesign.js":9460,"./Active/paymentHistory/paymentHistoryCTA.js":6982,"./Active/premiumPaymentRemoveChatBubbleDesktop.js":9180,"./Active/premiumSchools/premiumSchools.js":5054,"./Active/premiumThanks/premiumThanksReminder.js":6590,"./Active/resource/0before30DayTrialWordingResourceCTA.js":6356,"./Active/resource/99FreeTrialCTAWordingUK.js":9782,"./Active/resource/GTM-resourceReviews-resourceReviewsMobile.js":8732,"./Active/resource/downloadButtonOnPreviewProspect.js":8967,"./Active/resource/downloadableImageClickAction.js":4191,"./Active/resource/freeMobileAll.js":7799,"./Active/resource/mlandPreviewResolutionPixels-TFX-4235.js":7919,"./Active/resource/mobileCtaWithPipe.js":6624,"./Active/resource/mostlyUsedBy.js":2726,"./Active/resource/noPopUpsResourceFreeNonDownloadable.js":4357,"./Active/resource/postDownloadMobileOverlay.js":5852,"./Active/resource/prospectResourceCtaCopyUK.js":2983,"./Active/resource/redesignResourceCTA.js":2651,"./Active/resource/reduceReviewsAndDescriptionMobile2.js":5156,"./Active/resource/relatedSearchOneSizeMobile.js":372,"./Active/resource/removeSingularBreadcrumb.js":7606,"./Active/resource/resourceCTAdirectTest.js":4247,"./Active/resource/resourceHideSuggestions-tfx-4292.js":2750,"./Active/resource/resourceMlBoostFromSearch.js":2332,"./Active/resource/resourceMobileProspectRemoveFreeBanner.js":812,"./Active/resource/resourceNewsletterCTAPremium.js":3738,"./Active/resource/resourcePinchToZoomPreviewUpscale.js":4015,"./Active/resource/resourceRemoveAusMlBanner2.js":4508,"./Active/resource/resourceRemoveFreeAccIncludes.js":462,"./Active/resource/resourceTabbedSectionUI-tfx-4289.js":5960,"./Active/resource/resourceUltimateFreeTrialCTA1.js":6126,"./Active/resource/resourceUltimateFreeTrialCTAAnnual.js":1846,"./Active/resource/schoolAccountCTACopy.js":1144,"./Active/resource/searchSuggestionsCategoryPage.js":3986,"./Active/resource/threeColumnPostDownloadMl.js":6877,"./Active/search/inplaceSearchSuggestionsRedesign.js":7090,"./Active/search/mobileSearchPageLayout.js":6345,"./Active/search/newestFilterPositionAges.js":9337,"./Active/search/redirectFreeSearchToFreeTrialLanding.js":2920,"./Active/search/searchAutoLoadShowMore.js":5665,"./Active/search/searchFilterAgeFilterSticky.js":72,"./Active/search/searchMobileRemoveSimilar.js":8455,"./Active/search/searchSimilarCopyFilters.js":8301,"./Active/search/zoomOnHoverSearch.js":1964,"./Active/trial/remindUserSevenDaysBefore.js":8451,"./Active/trial/removeUltimateWordingFromTrial.js":9941,"./Active/trial/seePaidPlansToPaidPlansFreeTrialFunnel.js":1308,"./Active/trial/showActualAnnualPriceOnPayment.js":4588,"./All/aiMegamenu.js":7413,"./All/freeTrialSixMonths.js":651,"./All/headerCtaBgImage.js":3025,"./All/megamenuParents.js":738,"./All/mmSupplyBold.js":6784,"./All/plannersAus.js":364,"./All/rateMyDownloadsPopupVsRateNow.js":8737,"./ai/aiPromptChangeAfterSearch.js":8025,"./cancellation/cancelFreeProductCopy.js":5836,"./category/categoryOrdering.js":5745,"./category/categoryTopResourceAA.js":9988,"./category/categoryTopicsRedirect.js":3833,"./dashy/dashyNfl.js":9999,"./dashy/previousSearchesOnDashy.js":7107,"./dashy/recentlyDownloadedRatingDashy.js":2143,"./freeTrialLanding/freeTrialLandingAA.js":8126,"./freeTrialLanding/freeTrialLandingPageAUSNZ.js":665,"./freeTrialLanding/freeTrialLandingPageUK.js":4736,"./freeTrialLanding/freeTrialLandingPageUS.js":4352,"./home/prospectHomeLanding.js":9544,"./home/prospectHomeLandingGoogle.js":507,"./home/prospectHomeLandingNull.js":9361,"./home/prospectHomeLandingOther.js":2924,"./inclusion/inclusionRemoveUsps.js":9030,"./payment/decoyTestingNonEnglishLanguageTranslated.js":3455,"./payment/payFinalEmail.js":7035,"./payment/paymentChoiceUltLog.js":2479,"./payment/xxdecoyTestingFreeTrialPaymentChoicePage.js":3409,"./paymentHistory/paymentHistoryReminderPopup.js":6289,"./paymentThanks/paymentThanksRedesign.js":1888,"./productSearch/mlSidebar.js":527,"./productSearch/searchAutoFilterEngland.js":7142,"./productSearch/searchEngagement.js":5645,"./resource/99trialMobileUKandUS.js":4072,"./resource/aaResourceFree.js":17,"./resource/averageStarRatingResource.js":4167,"./resource/educakePostDownloadIteration2.js":7400,"./resource/mostlyUsedBy-prospects.js":6261,"./resource/noCardRequiredFreeRes.js":2393,"./resource/positiveReviewShowReferal.js":3072,"./resource/resourceAiCta.js":3401,"./resource/resourceCurriculumLinksShow.js":5220,"./resource/resourceElevateInline.js":9526,"./resource/resourceRemoveAusBannerMain.js":1441,"./resource/resourceShowFullDescription.js":9695,"./resource/reviewsResourceRedesign.js":1851,"./resource/searchFeedback.js":8630,"./search/averageReviewsSearch.js":5933,"./search/searchEmptyAA.js":4514,"./search/searchRemoveAusBanner.js":6544,"./signup/interactiveJourneySignUp.js":493,"./wiki/wikiMlSideBarRecsNew.js":3627};function a(e){var n=r(e);return t(n)}function r(e){if(!t.o(o,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return o[e]}a.keys=function(){return Object.keys(o)},a.resolve=r,e.exports=a,a.id=2361}},n={};function t(o){var a=n[o];if(void 0!==a)return a.exports;var r=n[o]={exports:{}};return e[o](r,r.exports,t),r.exports}t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=t(1018),n=t(2766);if(!document.documentMode){function s(e){const t=window.localStorage._x?JSON.parse(window.localStorage._x):{};e.keys().forEach((o=>{var a,r,i;let l=null===(a=e(o))||void 0===a||null===(r=a.default)||void 0===r?void 0:r.call(a);var c;null!=l&&null!==(i=l.shouldRun)&&void 0!==i&&i.call(l,t)&&(null==l||null===(c=l.codeToRun)||void 0===c||c.call(l),(0,n.v8)("twinklSplitTesting")&&console.log(o))}))}if(window.localStorage.setItem&&window.sessionStorage.setItem&&window.navigator.sendBeacon){var o,a,r,i,l;let u=null===(o=performance)||void 0===o?void 0:o.now();s(t(2361)),null===(a=document.fn)||void 0===a||null===(a=a.events)||void 0===a||a.emit("abReady");let p=null===(r=performance)||void 0===r?void 0:r.now();u&&p&&(0,n.v8)("twinklSplitTesting")&&console.log("AB Ready in "+(p-u).toFixed(0)+"ms");let m=null===(i=performance)||void 0===i?void 0:i.now();(0,e.Ft)();let h=null===(l=performance)||void 0===l?void 0:l.now();var c,d;m&&h&&(0,n.v8)("twinklSplitTesting")&&console.log("Tracker Ready in "+(h-m).toFixed(0)+"ms"),m&&h&&"object"==typeof newrelic&&(null===(c=newrelic)||void 0===c||c.setCustomAttribute("timingMsAb",parseInt(p-u)),null===(d=newrelic)||void 0===d||d.setCustomAttribute("timingMsEv",parseInt(h-m)))}}})()})(); //# sourceMappingURL=main.js.map